Ruby VM on JavaScript (based on HotRuby) + RPC.
Ruby JavaScript
Latest commit 112a4c7 Jul 19, 2009 @gimite Making it work on Chrome.


* What's HRWT?

HRWT (HotRuby Web Toolkit) is Ruby VM on JavaScript (HotRuby with more feature, see below) + DRb-ish RPC.

Hopefully this will be a framework which is Ruby version of GWT (Google Web Toolkit) in the future,
which enables you to write whole Web application (both client and server) in Ruby, without JavaScript.

But currently this is EXPERIMENTAL and not useful for practical use.


* How to use

To start server, run:
$ ruby hrwt_server.rb --port 12007

and try:

Edit files in app/ to modify the applications.

Ruby must be 1.9.0-1 (2008-03-01 revision 15660):

* Modification to HotRuby

Modified HotRuby is in js/hot_ruby_*.js. I implemented some of Ruby features missing in original HotRuby, and fixed several bugs. Newly implemented features are:

- Synchronous call to asynchronous JavaScript functions (e.g. Ajax, setTimeout)
- Many additional Ruby builtin methods imported from Rubinius (lib/core/*.rb, still in progress)
- Pseudo thread
- Exceptions
- break/return in blocks
- Modules
- yield (invokeblock)
- *, & in parameters and default arguments
- method_missing
- Singleton classes

* Licence / Copyright

  Ruby Licence
  Author: id:yukoba (

  See the file

  Taken from Rubinius (

  Ruby Licence
  Author: Hiroshi Ichikawa (Gimite) (