diff options
author | Juan J. Martinez <jjm@usebox.net> | 2022-08-30 21:02:24 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2022-08-30 21:02:24 +0100 |
commit | aaf2ef628772e5789203544ac6226b467891d1d9 (patch) | |
tree | 5d3dedb1e6c6c12791f8dc5d47d6d29a3b3b0fd8 /src/Lexer.hs | |
parent | 49940ac6b38204c4b1eb60e9dc1c553c331ac122 (diff) | |
download | micro-lang-hs-aaf2ef628772e5789203544ac6226b467891d1d9.tar.gz micro-lang-hs-aaf2ef628772e5789203544ac6226b467891d1d9.zip |
Boolean type, and true/false symbols
Diffstat (limited to 'src/Lexer.hs')
-rw-r--r-- | src/Lexer.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Lexer.hs b/src/Lexer.hs index 83a1391..1778b21 100644 --- a/src/Lexer.hs +++ b/src/Lexer.hs @@ -10,7 +10,7 @@ scanner :: T.TokenParser () scanner = T.makeTokenParser style where ops = ["+", "*", "-", ";"] - names = ["module", "private", "def", "return", "->"] + names = ["module", "private", "def", "return", "->", "true", "false"] style = emptyDef { T.commentLine = "#", |