1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//! # 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 `syn` AST
//! - **Treebeard Core**: Interpret `syn` AST 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](../../crates/design/docs/architecture.md)
//! for detailed design documentation.
/// Treebeard version
pub const VERSION: &str = env!;