Impressive! Very interesting. Thierry
Le 26/03/2014 06:37, Pavel Krivanek a écrit :
Unbelievable... I stare how open source can work :-) I started this project yesterday so it can hardly translate more than the small examples and of course it had no announcement. So, CCodeGenerator is the standalone translator from Smalltalk to plain C extracted from VMMaker. It should be able now generate other projects than the VM. You can write a shared library in trimmed Smalltalk (http://wiki.squeak.org/squeak/slang), debug it in Smalltalk IDE and then translate to C and compile. With NativeBoost binding (that will be generated in future versions automatically) you can use it simply from Smalltalk again. So you can write some parts of your projects in Smalltalk that will run on speed of C. Thank you Phil, I added you as a contributor. If others want to have write access to the repository, let me know. Cheers, -- Pavel 2014-03-26 0:39 GMT+01:00 Philippe Back <p...@highoctane.be <mailto:p...@highoctane.be>>: I loaded the code from http://www.smalltalkhub.com/#!/~PavelKrivanek/CCodeGenerator where the generator is now standalone, from VMMaker____ __ __ I made my own little version here: http://www.smalltalkhub.com/#!/~philippeback/HOExtras/packages/CCodeGenerator-Core____ __ __ Just works nicely under windows, not sure for the OSProcess thing as I did the build by hand in a side console.____ __ __ So: CCGExample new nbFib4: <print it> 30 90799453____ __ __ It just works perfectly.____ __ __ That’s a pretty great day for integration with JNIPort and CCodeGenerator!____ __ __ Phil____ __ __ ------------------------------------------------------------------------ <http://www.avast.com/> Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce que la protection Antivirus avast! <http://www.avast.com/> est active.
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95