Generic parser library capable of providing partial results from partial input.
|Version on this page:||0.2.3.4|
|LTS Haskell 18.0:||0.5.0.2|
|Stackage Nightly 2021-06-14:||0.5.0.2|
|Latest on Hackage:||0.5.0.2|
Module documentation for 0.2.3.4
This package defines yet another parser library. This one is implemented using the concept of Brzozowski derivatives, tweaked and optimized to work with any monoidal input type. Lists, ByteString, and Text are supported out of the box, as well as any other data type for which the monoid-subclasses package defines instances. If the parser result is also a monoid, the parser can provide it incrementally, before the complete input is parsed.