pinchot

Build parsers and ASTs for context-free grammars

http://www.github.com/massysett/pinchot

Version on this page:0.6.0.0
LTS Haskell 9.21:0.24.0.0
Stackage Nightly 2017-07-25:0.24.0.0
Latest on Hackage:0.24.0.0

See all snapshots pinchot appears in

BSD-3-Clause licensed by Omari Norman
Maintained by [email protected]
This version can be pinned in stack with:pinchot-0.6.0.0@sha256:1429e93514368e6e8ab808e778c992f57a583e8d9f55624228bfbb6cd88ba991,4255

Pinchot provides a simple language that you use to write a Haskell program that describes a context-free grammar. When run, this program creates a value representing the grammar. Using this value, you can automatically generate data types corresponding to the grammar, as well as an Earley parser to parse strings in that grammar.

For more documentation, see the Haddocks for the main Pinchot module.