Method: EleetScript::Interpreter#eval_with_context
- Defined in:
- lib/lang/interpreter.rb
#eval_with_context(code, context) ⇒ Object
19 20 21 22 |
# File 'lib/lang/interpreter.rb', line 19 def eval_with_context(code, context) nodes = @parser.parse(code) nodes.eval(context) end |