aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/ast/mod.rs
diff options
context:
space:
mode:
authorTolmachev Igor <me@igorek.dev>2026-05-11 08:34:22 +0300
committerTolmachev Igor <me@igorek.dev>2026-05-11 08:34:22 +0300
commitabda8d00117072f7c03f57eaeca9cf44427078dc (patch)
treea7caf8c91932ce195398dbd63758a057720366a1 /compiler/src/ast/mod.rs
parent7163aaebc993591db1cb4d7ae2be31669a0cb9a7 (diff)
downloadcrisp-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.rs2
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;
3mod parser; 3mod parser;
4 4
5pub use error::Error; 5pub use error::Error;
6pub use models::{Ast, Atom, Expr}; 6pub use models::{Ast, Atom, Expr, LetVar};
7pub use parser::Parser; 7pub use parser::Parser;
8 8
9#[cfg(test)] 9#[cfg(test)]