Allow negative numbers in expressions

This commit is contained in:
2026-08-09 17:51:58 -05:00
parent a19f9fa148
commit c0542d0811
3 changed files with 23 additions and 8 deletions

View File

@@ -22,7 +22,7 @@ inductive Expr where
| add (e₁ e₂ : Expr)
| sub (e₁ e₂ : Expr)
| var (x : String)
| num (n : )
| num (z : )
deriving DecidableEq
/-- A statement that cannot alter control flow (and thus, can be part of a basic block).