🕷 zenspider.com

by ryan davis



sitemap
Looking for the Ruby Quickref?

Getting closer

Published 2005-09-12 @ 02:23

Tagged ruby, metaruby, ruby2c

  • Plethora of passing unit-tests: check
  • Simple reproducible system: check
  • Ability to override core classes: check
  • Binary with our core classes: check
  • Segfaults: check
% cd MR
% make libmetaruby.a
...
% cd RUBY
% patch -p0 < metaruby.patch
...
% ./configure --program-prefix=meta
...
% cp ~/Links/MR/libmetaruby.a .
% make metaruby
...
% ./metaruby bin/irb 
irb(main):001:0> 1+1
=> 2
irb(main):002:0> false
/usr/local/lib/ruby/1.8/irb.rb:298: [BUG] Segmentation fault
ruby 1.8.3 (2005-09-10) [powerpc-darwin8.2.0]

It is time to split the tail of ruby2c and start making a translator for ruby internals. So far we’ve only done generic C.

We are very close… very very close…