incremental-parser

Generic parser library capable of providing partial results from partial input.

https://github.com/blamario/incremental-parser

Version on this page:0.2.4.1
LTS Haskell 22.14:0.5.1
Stackage Nightly 2024-03-28:0.5.1
Latest on Hackage:0.5.1

See all snapshots incremental-parser appears in

LicenseRef-GPL licensed by Mario Blazevic
Maintained by [email protected]
This version can be pinned in stack with:incremental-parser-0.2.4.1@sha256:dc15b0c11b6fe4854cbf9f4360b069ebc29cf61c6bf441180f2367217c9f8381,2500
Used by 1 package in nightly-2016-09-04(full list with versions):

This package defines yet another parser combinator 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, its chunks can be extracted incrementally, before the complete input is parsed.