QScript

Runs generated byte code generated from the compiler. Uses NaVM, so any ordinary NaVM bytecode can also be run

Constructors

this
this(Function[] externalFunctions, ExternFunction[] externalFunctionPtr)

constructor

Destructor

~this
~this()
Undocumented in source.

Members

Functions

addFunction
uinteger addFunction(Function externalFunc, ExternFunction externalFuncPtr)

adds an external function.

addFunction
void addFunction(Function[] externalFunc, ExternFunction[] externalFuncPtr)
execute
NaData execute(uinteger functionID, NaData[] args)

executes a function

functionID
integer functionID(string functionName)
initialize
void initialize()

Initializes the VM. must be called before executing anything in the script. And should only be called after all external functions have been added

loadScript
CompileError[] loadScript(string[] script, string[] byteCode)

loads a script, and compiles it

Meta