"Chun, Sungjin" ninja@aerohel.snu.ac.kr wrote:
I want to use my optimization code in Sqeak but the problem is that it is written in C Language. It is big code almost 20000 lines and I cannot convert them into Smalltalk. Is there any way or resource on this kind of integration ? I really want to do this in Sqeak.
There is no "C-to-Smalltalk" translator that I know of. However, the 2.3 release will allow you to more easily link to external C code that is prepared as a shared library.
If you really want to translate your code into Squeak, I think you'll have to either re-code it by hand or write a program to do that for you. If you write a program to do it, please let us know. I think many people would be interested.
-- John
johnm@wdi.disney.com wrote:
There is no "C-to-Smalltalk" translator that I know of. However, the 2.3 release will allow you to more easily link to external C code that is prepared as a shared library.
I currently only can make program for number crunching I cannot make some translator and that's not what I want. What I think is that Squeak itself should use some OS specific features to run in the base OS using C or other language then I think I can add my code in that. If shared library is loadable from squeak and can access functions in that library that's very great I think.
squeak-dev@lists.squeakfoundation.org