Skip to main content

Module interp

Module interp 

Source
Expand description

Tree-walking interpreter: special forms, macro expansion, destructuring, and function application.

Environment construction lives in crate::runtime; build one with Runtime::builder().execution_mode(ExecutionMode::TreeWalk).

Modules§

apply
Function application and the recur trampoline.
arity
destructure
Sequential and associative destructuring for let*, fn*, and loop*.
eval
Top-level eval dispatcher and form-to-value conversion.
macros
Macro expansion pipeline.
special
Special form evaluators.
syntax_quote
Syntax-quote (backtick) expansion.
versioned
Versioned symbol resolution — tree-walker entry point.