Expand description
Utils to compile script to bytecode and run script from bytecode
Functionsยง
- compile
- compile a script, will result in a JSValueRef with tag JS_TAG_FUNCTION_BYTECODE or JS_TAG_MODULE. It can be executed with run_compiled_function().
- compile_
module - compile a script, will result in a JSValueRef with tag JS_TAG_FUNCTION_BYTECODE or JS_TAG_MODULE. It can be executed with run_compiled_function().
- from_
bytecode - read a compiled function from bytecode, see to_bytecode for an example
- run_
compiled_ function - run a compiled function, see compile for an example
- to_
bytecode - write a function to bytecode