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. They should not be placed in inner scopes or under if statements.
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 Parser generates the tree and the Compiler traverses it to emit bytecode into Chunks.
This module implements the Parser struct, which generates Nodes from tokens. The resulting syntax tree is processed by the 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. Compiler implements these interfaces.
Convenience import for VM functionality.