latest pushes

This commit is contained in:
2024-10-15 22:47:29 -04:00
parent 8f087db1b8
commit 14e5a2043d
8 changed files with 246 additions and 280 deletions

View File

@@ -34,6 +34,8 @@ pub enum Token {
Done,
For,
In,
Case,
Esac,
Function,
}
@@ -90,6 +92,10 @@ pub enum ASTNode {
body: Box<ASTNode>,
},
Background(Box<ASTNode>),
Case {
var: String,
cases: Vec<(String, ASTNode)>,
},
}
impl ASTNode {