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

Safe HaskellNone
LanguageHaskell2010

Pinchot.Examples.PostalAstNoLenses

Description

Provides an example of ruleTreeToTypes, but unlike Pinchot.Examples.PostalAstAllRules, does not make optics.

Synopsis

Documentation

newtype Way Source

Constructors

Way (Seq Char) 

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

Earley grammar created using Template Haskell.