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

Safe HaskellNone

Text.GrammarCombinators.Parser.UUParse

Description

UUParse compatibility module.

Synopsis

Documentation

parseUU :: forall loc phi t r ix. (Token t, IsLocationUpdatedBy loc (ConcreteToken t)) => ProcessingContextFreeGrammar phi t r -> phi ix -> loc -> [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 loc phi t r ix. (Token t, IsLocationUpdatedBy loc (ConcreteToken t)) => ProcessingRegularGrammar phi t r -> phi ix -> loc -> [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 loc phi t r v. (Token t, IsLocationUpdatedBy loc (ConcreteToken t)) => RegularRule phi r t v -> loc -> [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 loc phi t r ix. (Token t, IsLocationUpdatedBy loc (ConcreteToken t)) => ProcessingExtendedContextFreeGrammar phi t r -> phi ix -> loc -> [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)