The phaser package

[Tags:bsd3, library]

A combinator library for incremental multiple pass parsers. Mostly inspired by the Text.ParserCombinators.ReadP module in the Base package and the conduit package. It has similar capabilities to ReadP as well as more detailed error reporting and the capacity for multiple passes (such as lexing and parsing)


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.1.1.0, 0.2.0.0, 1.0.0.0, 1.0.0.1
Dependencies base (>=4.7 && <4.10), bytestring (==0.10.*), containers, text (==1.2.*) [details]
License BSD3
Author Jeremy List
Maintainer quick.dudley@gmail.com
Category Text
Home page https://github.com/quickdudley/phaser
Source repository head: git clone https://github.com/quickdudley/phaser.git
Uploaded Mon Jun 19 23:01:42 UTC 2017 by quick_dudley
Distributions NixOS:1.0.0.0
Downloads 158 total (76 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2017-06-19 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for phaser

Readme for phaser-1.0.0.1

phaser

A combinator library for incremental multiple pass parsers.

This library is inspired by the Text.ParserCombinators.ReadP module which is part of the base package of the Haskell platform, and also by the conduit library. Except for readS_to_p: most of the functionality of ReadP is possible (although fewer convenience functions are currently implemented as of version 0.1.0.0).

Parsers can also be chained à la conduit.

Finally: this library supports detailed error reporting including the position in the file where the parser failed.