Ruby to JavaScript
drbrain |
Paul Battley wrote on the ruby-talk mailing list:This is a pretty nifty use of ParseTree, hopefully I'll get him using ParseTree's SexpProcessor, too. UPDATE: The Convert Ruby to JavaScript homepage. commentHere's something for the hungry mob to tear apart: automatic Ruby to JavaScript conversion. It seems somehow wrong, like grafting a pretty girl's head onto a donkey, but I've done it anyway!
[...]
It uses Ryan Davis et al's ParseTree and Florian Gro's ruby.js for most of the hard work. It's still very limited, and there are many warts, not least of which is the requirement for an explicit receiver on every method.
That said, the code's here: http://po-ru.com/files/ruby2js.tar.gz
Comments are disabled


