JSRuby code rewritten in Ruby to test the parser and interpreter, as well as to develop new features.