hledger/hledger-lib/Hledger
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
..
Data Replace Parsec with Megaparsec (see #289) (#366) 2016-07-29 08:57:10 -07:00
Read Replace Parsec with Megaparsec (see #289) (#366) 2016-07-29 08:57:10 -07:00
Reports Replace Parsec with Megaparsec (see #289) (#366) 2016-07-29 08:57:10 -07:00
Utils Replace Parsec with Megaparsec (see #289) (#366) 2016-07-29 08:57:10 -07:00
Data.hs lib: convert date hunit tests to doctests 2016-05-06 18:10:49 -07:00
Query.hs Replace Parsec with Megaparsec (see #289) (#366) 2016-07-29 08:57:10 -07:00
Read.hs lib: fix tests; always try parsing stdin as journal 2016-05-24 19:00:58 -07:00
Reports.hs split up Hledger.Reports 2014-03-19 17:31:18 -07:00
Utils.hs Replace Parsec with Megaparsec (see #289) (#366) 2016-07-29 08:57:10 -07:00