Implements the reverted 02d490dd2ce07946d602377ed84ae548cef7ac16 commits, without any runtime slowdown.
Emitter:
Generates less bytecode as pointer to docpos is stored, not a docpos record. Previously was Integer,Integer,Pointer in bytecode, now just a single pointer.
RunCode now uses emitter, FFI would definitely fail if it was freed while a script would running plus it allows for all of these features.
Bytecode array was generated a very slow rate, now grows much faster.
Compiler:
Added GetScriptMethodName
Fix exceptions being raised in wrong location in helper methods
Implements the reverted 02d490dd2ce07946d602377ed84ae548cef7ac16 commits, without any runtime slowdown.
Emitter:
Integer,Integer,Pointer
in bytecode, now just a single pointer.RunCode
now uses emitter, FFI would definitely fail if it was freed while a script would running plus it allows for all of these features.Compiler:
GetScriptMethodName