Contains functions to mixin to simplify code reuse. For these to work, the parameters of a native function must be called context, thisObj, args, and nfe. If placed in if-statement they MUST be surrounded by braces.
This module implements the bytecode compiler ──────────────────────────────────────────────────────────────────────────────── Copyright (C) 2021 pillager86.rf.gd
This module implements the Environment class.
This module implements the exception classes that can be thrown by the script. These should be caught and printed to provide meaningful information about why an exception was thrown while parsing, compiling, or executing a script.
This module implements the Interpreter class, the main class used by host applications to run scripts
This module implements the Token and Lexer structs
This module implements the expression and statement node classes, which are used internally as a syntax tree. The Interpreter can either walk the tree to execute code (deprecated), or compile the tree into bytecode and run it with the VirtualMachine.
This module implements the Parser struct, which generates Nodes from tokens. The resulting syntax tree is processed by Interpreter, or Interpreter and Compiler.
This module is for convenient use by the scripting language internals. Host applications should only import func.d, object.d, and any.d most of the time.
This module defines the interfaces that work with statement and expression nodes. Interpreter and Compiler implements all of these interfaces, although Interpreter will soon not implement these interfaces.
Convenience import for VM functionality.