English

Parsing Expression GLL

Formal Languages and Automata Theory 2022-08-29 v2

Abstract

This paper presents an extension of the GLL parsing algorithm for context-free grammars which also supports parsing expression grammars with ordered choice and lookahead. The new PEGLL algorithm retains support for unordered choice, and thus parses a common superset of context-free grammars and parsing expression grammars. As part of this work, the authors have modified an existing GLL parser-generator to support parsing expression grammars, adding operators for common parsing expressions and modifying the lexer algorithm to better support ordered choice.

Keywords

Cite

@article{arxiv.2205.04600,
  title  = {Parsing Expression GLL},
  author = {Aaron Moss and Brynn Harrington and Emily Hoppe},
  journal= {arXiv preprint arXiv:2205.04600},
  year   = {2022}
}

Comments

10 pages, 11 figures

R2 v1 2026-06-24T11:12:17.152Z