hledger/hledger-lib/Hledger/Utils
Moritz Kiefer 4141067428 Replace Parsec with Megaparsec (see #289) (#366)
* Replace Parsec with Megaparsec (see #289)

This builds upon PR #289 by @rasendubi

* Revert renaming of parseWithState to parseWithCtx

* Fix doctests

* Update for Megaparsec 5

* Specialize parser to improve performance

* Pretty print errors

* Swap StateT and ParsecT

This is necessary to get the correct backtracking behavior, i.e. discard
state changes if the parsing fails.
2016-07-29 08:57:10 -07:00
..
Debug.hs Replace Parsec with Megaparsec (see #289) (#366) 2016-07-29 08:57:10 -07:00
Parse.hs Replace Parsec with Megaparsec (see #289) (#366) 2016-07-29 08:57:10 -07:00
Regex.hs lib: memoised versions of regexReplace[CI] (#244) 2015-09-26 15:45:17 -10:00
String.hs Replace Parsec with Megaparsec (see #289) (#366) 2016-07-29 08:57:10 -07:00
Test.hs Replace Parsec with Megaparsec (see #289) (#366) 2016-07-29 08:57:10 -07:00
Text.hs Replace Parsec with Megaparsec (see #289) (#366) 2016-07-29 08:57:10 -07:00
Tree.hs Replace Parsec with Megaparsec (see #289) (#366) 2016-07-29 08:57:10 -07:00
UTF8IOCompat.hs unnecessary CPP pragma 2015-03-29 16:10:39 -07:00