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