Due to work and my preparation for RubyWorld Conference I couldn’t keep up the last couple of weeks. Here now a first update of what happened on the mruby front in October 2012.
Masaki Muranaka has cleanup the code a bit by avoiding memcpy at quite a few locations.
d5c4439013084ea5dcd30fd44a3a3d045e2dce67, 2cb183f1831d7949130ab8ecbca0630a08a1ba60, 93b56e70ee26428e2f56dd82d3318622628aa62d, e8abf03ae59b72bbc9c3af26eee33a9f4d17cc56, 170d5e7181cef90daa63c39b16ea66f6bd2b17b4
mrbc now takes input from STDIN.
A singleton classes is now able to have instance variables.
A division by 0 is now not crashing anymore but returns [Inf,NaN]. This is potentially incompatible to CRuby.
Fix bug in Kernel#block_given? which always returned false.
Enumerable#inject handles now empty enumerables.
return and break had a bug in a rescue clause.
Unexpected usage of break/next/redo/retry should raise a LocalJumpError exception.
A new C-function with the name mrb_raisef() was introduced by Masaki Muranaka. It is basically the same as mrb_raise() but without being able to treat variable arguments.
Tomoyuki Sahara implemented a backtrace function.
Get and Set for const variables wasn’t working for singleton classes.