BNFC-meta-0.4.0.3: Deriving Parsers and Quasi-Quoters from BNF Grammars

Safe HaskellNone
LanguageHaskell98

Language.LBNF.Runtime

Contents

Description

Contains things that are typically needed in modules that use languages defined using BNFC-meta.

Synopsis

Happy and Alex runtimes

err :: (String -> a) -> ParseMonad a -> a Source

Pretty printing runtimes

type Doc = [ShowS] -> [ShowS] Source

prPrec :: Int -> Int -> Doc -> Doc Source

newtype PrintPlain Source

Constructors

MkPrintPlain String 

Instances