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.
Lukas On 10 February 2010 16:51, Cédrick Béler <[email protected]> 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 [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
