Efficient Earley Parsing with Regular Right-hand Sides

https://doi.org/10.1016/j.entcs.2010.08.037Get rights and content
Under a Creative Commons license
open access

Abstract

We present a new variant of the Earley parsing algorithm capable of efficiently supporting context-free grammars with regular right hand-sides. We present the core state-machine driven algorithm, the translation of grammars into state machines, and the reconstruction algorithm. We also include a theoretical framework for presenting the algorithm and for evaluating optimizations. Finally, we evaluate the algorithm by testing its implementation.

Keywords

Context-free grammars
Earley parsing
regular right sides
scannerless parsing
transducers
augmented transition networks

Cited by (0)