Yes, Lukas show me how to do that. It's very easy. On Wed, Feb 10, 2010 at 11:34 PM, Lukas Renggli <renggli@gmail.com> 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.
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
-- Serge Stinckwich UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam Smalltalkers do: [:it | All with: Class, (And love: it)] http://doesnotunderstand.org/