Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Algorithm

Earley Parser

String Algorithm

The Earley parser is an algorithm for parsing strings belonging to a given context-free language, named after Jay Earley, who introduced it in his 1968 dissertation. It is a chart parser using dynamic programming, and unlike the LR and LL parsers more typically used in compilers it can parse all context-free languages, though the original version had a bug and high memory and time costs that later corrections and optimizations addressed as computers grew more powerful; it performs particularly well on left-recursively written grammars.

Facts
Classification
Design Technique
Dynamic Programming 1
Sources
1. Earley Parser (Wikipedia)
https://en.wikipedia.org/wiki/Earley_parser
Quote, https://en.wikipedia.org/wiki/Earley_parser
It is a chart parser that uses dynamic programming.
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.