Hi James, I do not know how related is it to your work, but I made some experiment to translate Smalltalk into Java (http://www.squeaksource.com/Smalltalk2Java.html ). Cheers, Alexandre On 3 Apr 2010, at 20:16, James Ladd wrote:
Hi Pharo-ites,
I'm working on a port of Pharo to the Java Virtual Machine called
Redline Smalltalk.
(read more here: http://jamesladdcode.com/?p=323)
Excellent I think that having a smalltalk running on JVM is cool. Did you check SqueakOnJava?
I have looked at these implementations, Bistro and others. However, I'm wanting to get as close to native JVM Bytecode as possible.
Why do you want to port the compiler in Java? In Java you should only implement the necessary infrastructure to run the object model of Pharo (primitives in particular). Then you can load Smalltalk code and you do not need to compile smalltalk code in smalltalk?
A good point, but I'm not sure how that approach would allow profiling, debugging and integration with Java. This is outlined a little in the previous post: http://jamesladdcode.com/?p=311
study little Smalltalk for example to get an idea. Would it be sufficient to choose those classes that are also outlined in the ANSI standard?
Rgs, James.
Australia's #1 job site If It Exists, You'll Find it on SEEK _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.