Parser combinators with slicing, error recovery, and syntax highlighting https://github.com/ollef/parsix
|Latest on Hackage:||0.1.0.2|
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
Adventures in parser combinators.
- Add error recovery (see
withRecovery) based on Megaparsec’s.
- Use the
textlibrary instead of
bytestringfor input strings. This means that the library interfaces better with the rest of the Haskell library ecosystem and that slicing (see
- Use the prettyprinter library for pretty-printing.
- Actually implement the highlighting interface from
parsers. This means that error messages that show input code are syntax highlighted.
- Remove unused
- Add lower bounds for all dependencies
- Change module re-export method to get Haddock to generate docs for
- Initial release