grammar-combinators-0.2.2: A parsing library of context-free grammar combinators.

Text.GrammarCombinators.Parser.UUParse

Description

UUParse compatibility module.

Synopsis

Documentation

parseUU :: forall phi t r ix. Token t => ProcessingContextFreeGrammar phi t r -> phi ix -> [ConcreteToken t] -> r ixSource

Parse a given string according to a given grammar, starting from a given start symbol using the UUParse error-correcting parsing library (always produces a result)

parseUUR :: forall phi t r ix. Token t => ProcessingRegularGrammar phi t r -> phi ix -> [ConcreteToken t] -> r ixSource

Parse a given string according to a given regular grammar, starting from a given start symbol using the UUParse error-correcting parsing library (always produces a result)

parseUURule :: forall phi t r v. Token t => RegularRule phi r t v -> [ConcreteToken t] -> vSource

Parse a given string according to a given regular production rule using the UUParse error-correcting parsing library (always produces a result).

parseUUE :: forall phi t r ix. Token t => ProcessingExtendedContextFreeGrammar phi t r -> phi ix -> [ConcreteToken t] -> r ixSource

Parse a given string according to a given extended grammar, starting from a given start symbol using the UUParse error-correcting parsing library (always produces a result)