Earley parser

Basic idea

Bottom-up chart parser that handles any context-free grammar — including ambiguous and left-recursive ones. Maintains a set of “items” (dotted productions with a start index) per input position.

Key formulas

Can parse all CFG’s but are slow

Siblings