mirror of
https://github.com/macocianradu/RosettaHaskellCompiler.git
synced 2026-03-18 21:10:07 +00:00
kind of working,
still needs testing. Added output return coercion in expression Fixed formatting bugs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user