kind of working,

still needs testing.
Added output return coercion in expression
Fixed formatting bugs
This commit is contained in:
Macocian Adrian Radu
2022-05-17 02:26:18 +02:00
parent 8d3d00b7a5
commit 26daa85feb
9 changed files with 193 additions and 80 deletions

View File

@@ -69,7 +69,10 @@ listParser =
variableParser :: Parser Expression
variableParser =
do
Variable <$> camelNameParser
name <- camelNameParser
if name == "endDate," then error "lool"
else return $ Variable name
--Variable <$> camelNameParser
-- |Parses an integer in Rosetta into an Expression
integerParser :: Parser Expression