Slide 62
Slide 62 text
Process the Instruction Sequence byte-code
- If readSmallValue is implemented as in the previous example, it is
available to read the data structure of the 0th Instruction Sequence.
- The data structure of Instruction Sequence is actually very huge. Among
them, meta-information is huge, such as exception table, keyword
arguments, etc. And the number of meta-information is more than 50....
- Actually, it is not necessary to implement all of the data structures if only
the output is "HelloWorld!". Therefore, to omit it and using the necessary
4 meta-information.
How to implement a RubyVM with PHP?
readSmallValue
HelloWorld!