Crate cl_interpret

Source
Expand description

Walks a Conlang AST, interpreting it as a program.

Modules§

builtin
closure
convalue
Values in the dynamically typed AST interpreter.
env
Lexical and non-lexical scoping for variables
error
The Error type represents any error thrown by the Environment
function
Represents a block of code which lives inside the Interpreter
interpret
A work-in-progress tree walk interpreter for Conlang
pattern
Unification algorithm for cl-ast [Pattern]s and ConValues

Traits§

Callable
Callable types can be called from within a Conlang program