[Pharo-project] [squeak-dev] File out as Ruby - Possible ?

Stefan Marr pharo at stefan-marr.de
Wed Feb 10 13:53:36 EST 2010


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?

Thanks
Stefan


> 
> Lukas
> 
> On 10 February 2010 16:51, Cédrick Béler <cdrick65 at 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 at 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
Phone: +32 2 629 3956
Fax:   +32 2 629 3525





More information about the Pharo-dev mailing list