From aaf2ef628772e5789203544ac6226b467891d1d9 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Tue, 30 Aug 2022 21:02:24 +0100 Subject: Boolean type, and true/false symbols --- src/Ast.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Ast.hs') diff --git a/src/Ast.hs b/src/Ast.hs index aa6a5c8..3d351c6 100644 --- a/src/Ast.hs +++ b/src/Ast.hs @@ -21,6 +21,7 @@ type FuncParam = (Ident, Type, SourcePos) data Expr = Num Integer SourcePos + | Bool' Bool SourcePos | BinOp Op Expr Expr | Var Ident SourcePos | -- fn [params] return body private anomyous pos -- cgit v1.2.3