mrubyをOSXでコンパイルする


SIZEOF_ST_INDEX_T が無いエラーだけ修正。後は上手くいった。

install-mruby
$ git clone git://github.com/mruby/mruby.git
$ cd mruby

# Issue https://github.com/mruby/mruby/issues/27
#   Patch https://gist.github.com/2430822
$ emacs src/st.c

$ make

$ cd bin
$ ./mruby test.rb 
Hello, mruby!!
test.rb
puts 'Hello, mruby!!'