applicative-parsec-0.1.0.0: An applicative parser combinator library

Safe HaskellNone
LanguageHaskell2010

Text.Parsec.Applicative.BNF

Documentation

newtype BNF Source

Constructors

BNF 

Fields

showsPrecBNF :: Int -> ShowS
 

Instances

grammarToBNF :: (Show s, Show t) => Grammar s t -> BNF Source

parserToBNF :: (Show s, Show tt, Ord s) => Parser s tt td a -> Maybe BNF Source

showsBNFProds :: (Show s, Show t) => Map s (Expr s t) -> ShowS Source

showsBNFExp :: (Show s, Show t) => Bool -> Expr s t -> ShowS Source