Ruby Forum Ruby > YARV Bytecode Documentation

Posted by Christoph Angerer (chmaruni)
on 15.05.2008 17:19
Hello *,

does anybody know any (if possible up-to-date)
documentation/specification of the Ruby 1.9 (YARV) bytecodes? The only
docs I could find are:

http://www.atdot.net/yarv/insnstbl.html (a simple table of the opcodes)

and

http://www.atdot.net/yarv/yarvarch.en.html (not much more than a table)

However, both sites seem to be outdated and are lacking some useful
explanations (e.g., what is the op_flag parameter for a send, and many
more); also the sourcecode of the VM itself seems to be totally
undocumented in that regard.

Help would be much appreciated! Thanks in advance,
Christoph
Posted by Chiyuan Zhang (Guest)
on 15.05.2008 17:35
(Received via mailing list)
Hi, check out this one:
http://pluskid.lifegoo.com/upload/doc/yarv/yarv_iset.html

It is generated from the current Ruby 1.9 source code, I described
it here:
http://pluskid.lifegoo.com/?p=296

On Thu, May 15, 2008 at 11:19 PM, Christoph Angerer
Posted by Christoph Angerer (chmaruni)
on 15.05.2008 17:41
thanks, that was exactly what I was searching for:)