Class: RLTK::CG::Interpreter
- Inherits:
-
ExecutionEngine
- Object
- ExecutionEngine
- RLTK::CG::Interpreter
- Defined in:
- lib/rltk/cg/execution_engine.rb
Overview
An execution engine that interprets the given code.
Constant Summary
Constants inherited from ExecutionEngine
ExecutionEngine::CLASS_FINALIZER
Instance Attribute Summary
Attributes inherited from ExecutionEngine
Attributes included from BindingClass
Instance Method Summary collapse
-
#initialize(mod) ⇒ Interpreter
constructor
Create a new interpreter.
Methods inherited from ExecutionEngine
#pointer_to_global, #run_function, #run_function_as_main, #target_data
Methods included from BindingClass
Methods included from AbstractClass
Constructor Details
#initialize(mod) ⇒ Interpreter
Create a new interpreter.
137 138 139 140 141 |
# File 'lib/rltk/cg/execution_engine.rb', line 137 def initialize(mod) super(mod) do |ptr, error| Bindings.create_interpreter_for_module(ptr, mod, error) end end |