parsec3: Monadic parser combinators

[ bsd3, library, parsing ] [ Propose Tags ]

Parsec is designed from scratch as an industrial-strength parser library. It is simple, safe, well documented (on the package homepage), has extensive libraries and good error messages, and is also fast. It is defined as a monad transformer that can be stacked on arbitrary monads, and it is also parametric in the input stream type.

This package comes without the compatibility layer for parsec2.

Note, that the module names overlap with those of newer parsec versions, therefore I do not recommend to unconditionally use parsec3 as dependency in cabal files of packages for hackage. But you may want to develop your code using this subset of parsec3 modules and finally change the dependency from parsec3 to parsec in order to avoid module ambiguities for users just installing your package. Your own module ambiguities are best avoided by hiding packages.

This version reflects the changes of parsec-3.1.8


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,,,,,,,,,
Change log Changelog
Dependencies base (>=4 && <5), bytestring, mtl, text (>=0.2 && <1.3) [details]
License BSD-3-Clause
Author Daan Leijen <>, Paolo Martini <>
Maintainer Christian Maeder <>
Category Parsing
Home page
Uploaded by ChristianMaeder at 2015-02-16T14:18:55Z
Reverse Dependencies 9 direct, 8 indirect [details]
Downloads 9465 total (10 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-02-16 [all 1 reports]