class Interpreter
- Interpreter
- Reference
- Object
Defined in:
interpreter.crConstructors
Instance Method Summary
-
#instructions : Array(Instruction)
The list of instructions to be interpreted.
-
#instructions=(instructions : Array(Instruction))
The list of instructions to be interpreted.
- #run
-
#stack : Array(Float64)
The 'stack' in our Stack Machine.
-
#stack=(stack : Array(Float64))
The 'stack' in our Stack Machine.
-
#variables : Hash(String, Float64)
A table of variables and their current values.
-
#variables=(variables : Hash(String, Float64))
A table of variables and their current values.