pinchot: Build parsers and ASTs for context-free grammars

[ bsd3, development, library ] [ Propose Tags ]

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.


[Skip to Readme]

Modules

[Last Documentation]

  • Pinchot
    • Pinchot.Examples
      • Pinchot.Examples.Postal
      • Pinchot.Examples.PostalAstAllRules
      • Pinchot.Examples.PostalAstNoLenses
      • Pinchot.Examples.PostalAstRuleTree
      • Pinchot.Examples.QualifiedImport
    • Pinchot.Internal
    • Pinchot.Intervals

Flags

Manual Flags

NameDescriptionDefault
executables

Build executables

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.2.0.0, 0.4.0.0, 0.6.0.0, 0.8.0.0, 0.10.0.0, 0.12.0.0, 0.14.0.0, 0.16.0.0, 0.18.0.0, 0.18.0.2, 0.18.2.0, 0.20.0.0, 0.22.0.0, 0.24.0.0
Dependencies base (>=4.8.0.0 && <5), containers (>=0.5.6.2), Earley (>=0.10.1.0), lens (>=4.13), template-haskell (>=2.10), transformers (>=0.4.2.0) [details]
License BSD-3-Clause
Copyright 2015 Omari Norman
Author Omari Norman
Maintainer omari@smileystation.com
Category Development
Home page http://www.github.com/massysett/pinchot
Bug tracker http://www.github.com/massysett/pinchot/issues
Source repo head: git clone https://github.com/massysett/penny.git
Uploaded by OmariNorman at 2016-01-26T15:28:44Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables parrot, postal-parser, print-postal-grammar
Downloads 8755 total (30 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-11-28 [all 3 reports]

Readme for pinchot-0.8.0.0

[back to package description]
Pinchot helps you build Haskell data types and parsers
corresponding to a context-free grammar.

Documentation is contained in the Haddock markup in the
source files.

Pinchot is licensed under the BSD license; see the
LICENSE file.