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/Lexer.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Lexer.hs') 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 = "#", -- cgit v1.2.3