Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby YARV bytecode compiler (compiles Ruby code to C extension)
Ruby C
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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.

Something went wrong with that request. Please try again.