applicative-parsec-0.1.0.0: An applicative parser combinator library
Text.Parsec.Applicative.BNF
newtype BNF Source
Constructors
Fields
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
showsGrammarBNF :: (Show s, Show t) => Grammar s t -> ShowS Source
showsBNFStart :: Show s => s -> ShowS Source
showsBNFProds :: (Show s, Show t) => Map s (Expr s t) -> ShowS Source
showsBNFExp :: (Show s, Show t) => Bool -> Expr s t -> ShowS Source
showsParens :: ShowS -> ShowS Source
showsSepBy :: Bool -> [ShowS] -> ShowS -> ShowS Source