aboutsummaryrefslogtreecommitdiff
path: root/src/Ast.hs
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2022-08-30 21:02:24 +0100
committerJuan J. Martinez <jjm@usebox.net>2022-08-30 21:02:24 +0100
commitaaf2ef628772e5789203544ac6226b467891d1d9 (patch)
tree5d3dedb1e6c6c12791f8dc5d47d6d29a3b3b0fd8 /src/Ast.hs
parent49940ac6b38204c4b1eb60e9dc1c553c331ac122 (diff)
downloadmicro-lang-hs-aaf2ef628772e5789203544ac6226b467891d1d9.tar.gz
micro-lang-hs-aaf2ef628772e5789203544ac6226b467891d1d9.zip
Boolean type, and true/false symbols
Diffstat (limited to 'src/Ast.hs')
-rw-r--r--src/Ast.hs1
1 files changed, 1 insertions, 0 deletions
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