Earley-0.8.2: Parsing all context-free grammars using Earley's algorithm.
Text.Earley.Derived
Description
Derived operators.
Synopsis
symbol :: Eq t => t -> Prod r e t t Source
Match a single token.
namedSymbol :: Eq t => t -> Prod r t t t Source
Match a single token and give it the name of the token.
word :: Eq t => [t] -> Prod r e t [t] Source
Match a list of tokens in sequence.