| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Pinchot.Examples.EarleyProduct
Description
Provides an example of the use of earleyProduct. You
will want to look at the source code, as looking at only the
Haddocks will show you only the result of all the Template
Haskell splices.
- allProductions :: Grammar r (Productions r)
- addressParser :: Grammar r (Prod r String Char Address)
Documentation
allProductions :: Grammar r (Productions r) Source
earleyProduct gives you a big product type that has
every rule that is in your Pinchot grammar.