diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2022-10-07 11:09:44 +0200 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2022-10-07 18:27:32 +0200 |
commit | 2143eb381fc28e2d676a9c9a433426b1b2dbf737 (patch) | |
tree | 4842e6c9a23d64b98a06c758d85fe9db94d40dad /src/Parser.hs | |
parent | 4161f5776e5e7a01fb9eb62351c0f648bb918076 (diff) |
Process variables and expression type
Diffstat (limited to 'src/Parser.hs')
-rw-r--r-- | src/Parser.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Parser.hs b/src/Parser.hs index a38d0c9..517aa27 100644 --- a/src/Parser.hs +++ b/src/Parser.hs @@ -222,7 +222,9 @@ someExpr = join inner <?> "expression" , [ prefix "-" $ [ SomeUnOp (negate @Integer) ] ] , [ binary "*" $ [ SomeBinOp ((*) @Integer) ] + {- TODO: parsing issues with regular expressions , binary "/" $ [ SomeBinOp (div @Integer) ] + -} ] , [ binary "+" $ [ SomeBinOp ((+) @Integer) ] , binary "-" $ [ SomeBinOp ((-) @Integer) ] |