Monadic parser combinators

Latest on Hackage:

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 to host generated Haddocks.

BSD3 licensed by Daan Leijen, Paolo Martini
Maintained by Christian Maeder

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

- adjusted to export change of parsec-1.3.8
- untabified Language.hs
- adjusted to position change in parsec-1.3.7
- adjusted to changes in parsec-1.3.6
- really adjusted text dependency
- adjusted text dependency as is done for parsec-1.3.5
- added changelog extra source file
Depends on:
Used by 3 packages:
comments powered byDisqus