This commit is contained in:
iris committed 2026-06-01 23:03:35 -04:00
1 parent 1d568f8ce3
commit c2a8c50a6d
5 files changed
+64 -8

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
mod namespace;
pub use namespace::*;
use super::Id;
pub struct Fn {
pub body: Body,
}
pub struct Body {
pub statements: Vec<Statement>,
}
pub struct Statement {
ty: StatementTy,
}
pub enum StatementTy {
Define,
Assign,
Call { target: VarId, args: VarId },
}
pub type VarId = usize;