Ruby YARV bytecode compiler (compiles Ruby code to C extension)
Ruby C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/ruby-ybc
spec
.gitignore
README.rdoc
notes.txt
steal_from_yarv.rb

README.rdoc

This is very uncomplete and in early stages. The compiler works by translating YARV bytecode into C code (a Ruby C extension). Only Ruby 1.9.3-p194 tested! Ruby 1.9.3-p0 does NOT work. Only works on 64-bit OSX with Xcode command line tools installed (in other words, clang must be installed).

Pull requests are welcome :-)

Tests

There are some examples that currently can be compiled in spec/examples. Run rspec spec/unit/general.rb to run the tests.