| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Language.LBNF.Runtime
Description
Contains things that are typically needed in modules that use languages defined using BNFC-meta.
Happy and Alex runtimes
data ParseMonad a Source #
Instances
err :: (String -> a) -> ParseMonad a -> a Source #
Pretty printing runtimes
Minimal complete definition
Instances
| Print Char Source # | |
| Print Double Source # | |
| Print Integer Source # | |
| Print PrintPlain Source # | |
Defined in Language.LBNF.Runtime | |
| Print Ident Source # | |
| Print Reg Source # | |
| Print MinimumSize Source # | |
Defined in Language.LBNF.Grammar | |
| Print Exp Source # | |
| Print Arg Source # | |
| Print HsTyp Source # | |
| Print MIdent Source # | |
| Print Label Source # | |
| Print Cat Source # | |
| Print Item Source # | |
| Print RHS Source # | |
| Print Def Source # | |
| Print Grammar Source # | |
| Print a => Print [a] Source # | |
newtype PrintPlain Source #
Constructors
| MkPrintPlain String |
Instances
| Print PrintPlain Source # | |
Defined in Language.LBNF.Runtime | |