incremental-parser

Generic parser library capable of providing partial results from partial input. http://patch-tag.com/r/blamario/incremental-parser/wiki/

Latest on Hackage:0.4.0.2

See all snapshots incremental-parser appears in

LicenseRef-GPL licensed by Mario Blazevic
Maintained by [email protected]

Module documentation for 0.2.3.4

This version can be pinned in stack with:[email protected]:53d43b2800715cd936b0e0998ecc7f122f1b0ab1e6d7dffbc09e98d808909195,2063

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.

Used by 1 package in lts-2.22(full list with versions):