diff options
| author | Tolmachev Igor <me@igorek.dev> | 2026-05-11 08:34:22 +0300 |
|---|---|---|
| committer | Tolmachev Igor <me@igorek.dev> | 2026-05-11 08:34:22 +0300 |
| commit | abda8d00117072f7c03f57eaeca9cf44427078dc (patch) | |
| tree | a7caf8c91932ce195398dbd63758a057720366a1 /compiler/src/ast/mod.rs | |
| parent | 7163aaebc993591db1cb4d7ae2be31669a0cb9a7 (diff) | |
| download | crisp-abda8d00117072f7c03f57eaeca9cf44427078dc.tar.gz crisp-abda8d00117072f7c03f57eaeca9cf44427078dc.zip | |
Replace generic list AST with typed expression tree
Each form (fn, let, for, set, do, call) now has its own variant with named fields instead of being a
plain list.
Diffstat (limited to 'compiler/src/ast/mod.rs')
| -rw-r--r-- | compiler/src/ast/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/ast/mod.rs b/compiler/src/ast/mod.rs index 2a0be03..afd459e 100644 --- a/compiler/src/ast/mod.rs +++ b/compiler/src/ast/mod.rs | |||
| @@ -3,7 +3,7 @@ mod models; | |||
| 3 | mod parser; | 3 | mod parser; |
| 4 | 4 | ||
| 5 | pub use error::Error; | 5 | pub use error::Error; |
| 6 | pub use models::{Ast, Atom, Expr}; | 6 | pub use models::{Ast, Atom, Expr, LetVar}; |
| 7 | pub use parser::Parser; | 7 | pub use parser::Parser; |
| 8 | 8 | ||
| 9 | #[cfg(test)] | 9 | #[cfg(test)] |
