| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Language.Happy.Grammar
Description
The rules of a Happy grammar, with parameterised rules like List(p)
instantiated for every argument they're used with.
Documentation
type Production = [Sym] Source #
The symbols on the right of a rule, in order.
type Rules = Map Sym [Production] Source #
The productions of every nonterminal that the start symbol reaches.
A use of a rule or token, with its arguments: List(Identifier).