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

Safe HaskellNone

Text.GrammarCombinators.Parser.RealLL1

Description

This is an experiment, do not use.

Documentation

data Token t => FirstSet t Source

Constructors

FS 

Instances

Token t => Show (FirstSet t) 
Token t => Lift (FirstSet t) 

newtype RealLL1Table phi t Source

Constructors

MkRealLL1Table (Memo phi (K0 (BranchSelectorMemo t))) 

parseRealLL1 :: forall phi ixT t r ix. (Domain phi, Token t) => RealLL1Grammar phi ixT r r t -> RealLL1Table phi t -> phi ix -> [ConcreteToken t] -> Maybe (r ix)Source

prepareLL1Parser :: (Domain phi, Token t) => BSCGrammar phi r t rr -> RealLL1Table phi tSource