How do I call the Tamarin ESC Compiler from AS3 Code?
I'm trying to call Tamarin's ESC Compiler from AS3 code. I've got the ESC Compiler byte code loaded in Flash Player, but when I call it, the ESC Compiler always returns the same do nothing byte code, no matter what source code I feed it. The human readable ESC code looks like this: function compileStringToBytes(input, context="(string)", start_line=1) { let [_,_,res] = compile( (function () input), (function (abc) abc.getBytes()), context, start_line ); return res; } I'm calling it using the following AS3 code: var compile:Function = getDefinitionByName("ESC::compileStringToBytes") as Function