qscript.compiler.compiler

Provides an "interface" to all the compiler modules.

Members

Functions

compileScript
string[] compileScript(string[] script, Function[] functions, CompileError[] errors, Function[] functionMap)

compiles a script from string[] to bytecode (in NaFunction[]).

compileScriptAST
string compileScriptAST(string[] script, Function[] functions, CompileError[] errors)

Generates an AST for a script, uses ASTCheck.checkAST on it.

Meta