Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby 1.8.7 compiled to JavaScript
JavaScript Ruby C Shell Other
tree: d5f98c8fce

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
dist
emscripten @ c5e5c90
ruby-1.8.7
.gitmodules
README.md
config.h.patch
entry_point.js
makeruby
map_filesystem.py

README.md

Emscripted-Ruby

Emscripted Ruby is a build script that uses Emscripten to compile Ruby MRI 1.8.7 for use in a browser. The main difference is the conversion from C to C++ and the switch from setjmp/longjmp (which can't be implemented in JavaScript) to C++ exceptions.

The project is in its infancy. Right now it suffers from a crash due to an LLVM's miscompilation of the Ruby garbage collector, and have numerous deficiencies, especially in handling Bignums.

The build script is licensed under the MIT license. The modifications follow Ruby's GNU GPL2 license.

Something went wrong with that request. Please try again.