1 module orelang.operator.EvalOperator;
2 import orelang.operator.IOperator,
3        orelang.Transpiler,
4        orelang.Engine,
5        orelang.Value;
6 
7 class EvalOperator : IOperator {
8   /**
9    * call
10    */
11   public Value call(Engine engine, Value[] args) {
12     string code = args[0].getString;
13 
14     return engine.eval(Transpiler.transpile(code));
15   }
16 }