pinchot-0.4.0.0: Build parsers and ASTs for context-free grammars

Safe HaskellNone
LanguageHaskell2010

Pinchot.Examples.PostalAstRuleTree

Description

Provides an example of the use of ruleTreeToTypes. You will want to look at the source code, as it has a Template Haskell splice that produces all of the data types that you see in the Haddocks.

Synopsis

Documentation

newtype Way Source

Constructors

Way (Seq Char) 

postalGrammar :: Grammar r (Prod r String Char Address) Source

Earley grammar created using Template Haskell.