mildew

Modules

binder
module mildew.binder

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.

context
module mildew.context

This module implements the Context class.

exceptions
module mildew.exceptions

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 or executing a script.

interpreter
module mildew.interpreter

This module implements the Interpreter class, the main class used by host applications to run scripts

lexer
module mildew.lexer

This module implements the Token and Lexer structs

nodes
module mildew.nodes

This module implements the expression and statement node subclasses, which are used internally as a syntax tree.

parser
module mildew.parser

This module implements the Parser struct, which generates Nodes from tokens that are used internally.

stdlib
module mildew.stdlib
types
module mildew.types

This module is for convenient use by the scripting language internals. Host applications should only import func, object, and any most of the time.

visitors
module mildew.visitors
Undocumented in source.