| Features | - parser combinators defined over Applicative and Alternative
- faster variants defined over Monad and MonadPlus
- no dependencies other than base
| - Monadic parser combinators built around the MonadParsec type class
- Recovers from parse errors and reports several at once
- Typed, custom parse errors whose position can differ from the current offset
- Fast tokens, takeWhileP and takeP primitives
- Parses String, ByteString, Text and custom token streams
- Lexer modules for white space, comments, indentation and binary data
| - monadic parser combinators
- monad transformer that stacks on any monad
- parametric in the input stream type
- good error messages
- legacy parsec-2 API kept for compatibility
|