mirror of
https://github.com/mrkkrp/megaparsec.git
synced 2024-12-25 17:22:33 +03:00
d595562e88
Close #64. ‘makeExprParser’ now generates parser that can handle several occurrences of the same prefix or postfix operator in a row. This allows to parse something like C pointers (for example ‘**i’) without resorting to hacks. The feature is experimental, I'm not entirely sure it's not buggy. Upcoming additional tests for ‘Text.Megaparsec.Expr’ will show whether it behaves correctly in all cases and doesn't have adverse effects. For now, I've edited existing test to generate data with repeating prefix negations and postfix factorials. Current code-base passes the test. |
||
---|---|---|
.. | ||
Char.hs | ||
Combinator.hs | ||
Error.hs | ||
Expr.hs | ||
Lexer.hs | ||
Main.hs | ||
Perm.hs | ||
Pos.hs | ||
Prim.hs | ||
Util.hs |