Parsing Expression GLL

Aaron Moss, Brynn Harrington, Emily Hoppe
5/9/2022
cs.FL

Official code: bruceiv/pegll (6 stars, Go, Apache-2.0, last commit 2022-05-09).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

bruceiv/pegllOfficial100%
Apache-2.0

GLL parser-generator for parsing expression grammars

61Go, RustMay 23, 20214 years agoApache-2.0

Similar Papers

Cite this paper

@article{moss2022parsing,
  title  = {Parsing Expression GLL},
  author = {Aaron Moss and Brynn Harrington and Emily Hoppe},
  year   = {2022},
  eprint = {2205.04600},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.04600}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.04600.svg)](https://codeofpaper.com/paper/2205.04600)

Discussion