ebnf-bff-0.1.0.0: Parser combinators & EBNF, BFFs!

Safe HaskellNone
LanguageHaskell2010

Text.EBNF.Build.Parser

Synopsis

Documentation

build :: SyntaxTree -> [GrammarRule] Source

given a syntax tree for a valid EBNF grammar, returns a association list with the key as the meta identifier.

ioTryBuild :: SyntaxTree -> IO [GrammarRule] Source

IO function, outputs errors if build fails.