Expand description
§Treebeard
A tree-walking interpreter for Rust’s syn AST.
Treebeard is a language-agnostic execution engine that interprets Rust’s
syn AST directly, enabling immediate execution without compilation.
Any language that can produce syn AST can leverage Treebeard for
rapid iteration, REPL environments, and gradual migration to compiled code.
§Architecture
- Language Frontend: Parse source code to
synAST - Treebeard Core: Interpret
synAST with ownership tracking - REPL: Interactive session management
- Compilation Escape: Hot path optimization via
rustc
§Status
🚧 Work in Progress - Core architecture defined, implementation underway.
See the Treebeard Architecture Guide for detailed design documentation.
Modules§
- environment
- Environment and variable bindings
- error
- Error types for Treebeard evaluation
- evaluator
- Core evaluator for
synAST - ownership
- Runtime ownership tracking
- value
- Value representation for runtime values
Constants§
- VERSION
- Treebeard version