YARV uses its own internal set of control structures, like the structures you use in Ruby.
In Chapter 3 I explained how YARV uses a stack while executing its instruction set and how it can access variables locally or dynamically. Controlling the flow of execution is another fundamental requirement for any programming language, and Ruby has a rich set of control structures, too. How does YARV implement control structures?
Like Ruby, YARV has its own control structures, albeit at a much lower level. Instead of
unless statements, YARV uses two low-level instructions called