So far, all work is being done by me, Paul Battley. See below if you’d like to get involved in some way.
var s = RbString.box('Hello'); rbSendMessage(s, '<<', [' World']); rbSendMessage(RbRootObject.getConstant('Kernel'), 'puts', [s]);
It’s analogous to this in Ruby:
s = 'Hello' s << ' World' Kernel.puts(s)
Instantiation isn’t yet possible except in the special case of boxed strings. Implementing Class properly is the next major step.
The current code is available via Subversion:
svn co svn://rubyforge.org//var/svn/rb2js/sandbox
If you’d like to help or just follow along, please join the mailing list.
Send an email to firstname.lastname@example.org.
Paul Battley, 20th July 2006