🕷 software projects

by ryan davis



Metaruby is a reimplementation of ruby in ruby.

NOTE: This project is dead.

metaruby is a reimplementation of ruby in ruby. The intent is to make it easier to understand, maintain, and extend ruby.

Eventually it will have a complete parser, interpreter, core library, and a ruby-subset-to-c translator (maybe parrot instead… not sure). We’ll be modifying rubicon as our test suite.


  1. Basic Porting

    1. [DONE] everything.rb generats and runs without warnings.
      1. [DONE] preprocess.rb and port.rb have the absolute minimum of HACK tags.
  2. Parser/Interpreter/Translator

    1. parser does a sucessful first pass at everything.rb
    2. parser actually generates ASTs
    3. interpreter can run ASTs
    4. Library milestones can pass under interpreter
    5. parser can generate C and/or parrot code.
    6. Library milestones can pass under generated & compiled interproter.
  3. Library

    1. ZArray passes all of it’s rubicon tests using ruby interpreter
    2. ZHash, ZFile, ZIO, ZDictionary pass all their tests


  • Soooo far from done…

Get The Code

If you just want to use metaruby, you can install it via RubyGems:
gem install metaruby
Fork me on GitHub If you want to hack on metaruby, clone it from GitHub:
git clone git://github.com/seattlerb/metaruby

Latest Activity