On Wed, Feb 10, 2010 at 7:53 PM, Stefan Marr <pharo@stefan-marr.de> wrote:
On 10 Feb 2010, at 17:34, Lukas Renggli wrote:
Have a look at the RB AST. You can traverse the AST similar to the pretty-printer that is included (RBFormatter and RBConfigurableFormatter) and instead emit Ruby. I've done something similar for Javascript, and others have done it for other languages. Since it is already on-topic: Is there something which exports my nice Smalltalk code to some approximate, maybe even with holes, representation in Java code?
This is all I know: http://www.squeaksource.com/Smalltalk2Java.html http://bergel.eu/download/TranslatingSmalltalkToJava.pdf http://www.info.ucl.ac.be/~jbrichau/javaconnect.html
Thanks Stefan
Lukas
On 10 February 2010 16:51, Cédrick Béler <cdrick65@gmail.com> wrote:
Hi,
Do you know if it's possible to export smalltalk code in ruby ? I have to port a small app I did and so, it could help me :)
I don't think there's an existing tool, but maybe some directions... Actually, I'd prefer writing a simple tool to do that rather than doing all by hand.
I don't expect it to work out of the box, but just save me some time.
TIA
-- Cédrick
-- Lukas Renggli http://www.lukas-renggli.ch
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Stefan Marr Software Languages Lab Vrije Universiteit Brussel Pleinlaan 2 / B-1050 Brussels / Belgium http://soft.vub.ac.be/~smarr <http://soft.vub.ac.be/%7Esmarr> Phone: +32 2 629 3956 Fax: +32 2 629 3525
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project