ruby-syntax-tree / syntax_tree

Interact with the Ruby syntax tree

Home Page:https://ruby-syntax-tree.github.io/syntax_tree/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Emulation test suite

kddnewton opened this issue · comments

We allow you to emulate YARV by running the instructions sequences that we have as a representation directly against a virtual machine. For the most part, we have this correct, but there are still some bugs preventing us from actually running the test suite correctly. I think this is mostly to do with the throw instruction, since that breaks out from the normal control flow and raises errors. We should fix this up and then document this feature.