1 post tagged “bytecode”
RubyExは今バイトコードをアウトプットします!
Now RubyEx outputs byte-code!
もちろん、これでは読めないだけど。。次のはmoduleとprogramのソフトパッケージはバイトがコードを読まされる。celtic@sohma:~/code/linux/rubyex/translator$ cat test.rb
puts "Hi there."
a = who_knows("Joe", 42 - (9 * sin(12)))
a.each do
el { joe {}; q {} }
endceltic@sohma:~/code/linux/rubyex/translator$ ./parser -b < test.rb
puts Hi there.
a who_knowsJoe *- * sin
aeach el joe q
Of course, here you can't read it... next will be getting the 'module' and 'program' packages to read the byte-code!
