Earley-0.7.1: Parsing all context-free grammars using Earley's algorithm.

Safe HaskellSafe
LanguageHaskell2010

Text.Earley.Derived

Description

Derived operators.

Synopsis

Documentation

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.