Am Sonntag, 14. Januar 2007 02:22 schrieb Daniel Finnie: > Is there a way to download it without installing Mercurial? I looked > around the website given but didn't see anything. I am interested in > seeing the code it produces. Uploaded a temporary tarball here: http://ntecs.de/hg-projects/rubyjs.tar.gz You can also see a sample of the produced code here: http://ntecs.de/hg-projects/rubyjs/sample/demo.js or try the demo: > > Thanks, > Dan > > Michael Neumann wrote: > > Hi all, > > > > Long time since I announced my last project.... > > > > With RubyJS you can transform a subset of Ruby into Javascript code. > > > > What works? > > > > * Classes, modules, inheritance > > * Instance methods, class methods > > * Exceptions (rescue/ensure) > > * Meta-programming stuff like 'attr_reader' > > (any meta-programming stuff works that does not appear inside > > methods) * Iterators, yield > > * "require" (with platform-specific extension ala Google Webtoolkit) > > * Inline Javascript code > > * Some kind of compile-time method lookup ;-) > > * Numbers, String, Array, Hash, Proc (a lot of functionallity is > > missing!) * Testing with Rhino-JS > > * A lot more :) > > > > There is a lots of room for optimizations and improvement :) > > > > Best take a look at sample/demo.rb or test/*.rb. > > > > DOWNLOAD > > ========= > > > > It's available from here: > > > > http://ntecs.de/hg-projects/rubyjs/ > > > > Best use Mercurial (www.selenic.com/mercurial) to check it out: > > > > hg clone static-http://ntecs.de/hg-projects/rubyjs/ > > > > Requires ParseTree 1.6.3 as rubygem. > > > > Have fun with it! > > > > Regards, > > > > Michael