parcom-lib

A simple parser-combinator library, a bit like Parsec but without the frills

https://bitbucket.org/tdammers/parcom-lib

Latest on Hackage:0.8.0.3

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.

BSD-3-Clause licensed by Tobias Dammers
Maintained by [email protected]

Parcom provides parser combinator functionality in a string-type-agnostic way; it supports strict ByteStrings (with Word8 tokens) and any list type (with the element type as the token type) out-of-the-box, including plain old String. Any other stream-of-tokens type can be hooked into the library; unlike Parsec, none of the built-in parsers assumes char-like tokens.