diff options
author | Juan J. Martinez <jjm@usebox.net> | 2022-09-12 20:16:42 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2022-09-12 20:16:42 +0100 |
commit | 8fe1fc0c2b0b10f64c43498481e738221fe03bb3 (patch) | |
tree | 3a934f555abfbee3881f171377f64dd2f31107d0 /src/Micro/Ast.hs | |
parent | fea91d8e7e61693d8ece149bac91d7acda16453d (diff) | |
download | micro-lang-hs-8fe1fc0c2b0b10f64c43498481e738221fe03bb3.tar.gz micro-lang-hs-8fe1fc0c2b0b10f64c43498481e738221fe03bb3.zip |
Track local variables, WIP code gen
Diffstat (limited to 'src/Micro/Ast.hs')
-rw-r--r-- | src/Micro/Ast.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Micro/Ast.hs b/src/Micro/Ast.hs index 45697de..ec9141e 100644 --- a/src/Micro/Ast.hs +++ b/src/Micro/Ast.hs @@ -24,8 +24,8 @@ data Expr | Bool' Bool SourcePos | BinOp Op SourcePos Expr Expr | Variable Ident SourcePos - | -- v type value private pos - Var Ident Type Expr Bool SourcePos + | -- v type value private local pos + Var Ident Type Expr Bool Bool SourcePos | -- fn [params] return body private anomyous pos Func Ident [FuncParam] (Maybe Type) [Expr] Bool Bool SourcePos | Call Expr [Expr] SourcePos |