pith. sign in

arxiv: 1205.1877 · v1 · pith:ISVD5K7Znew · submitted 2012-05-09 · 💻 cs.FL

Structured Grammars are Effective

classification 💻 cs.FL
keywords formalismgrammarsallowslinearparsersparsingtimetop-down
0
0 comments X
read the original abstract

Top-down parsing has received much attention recently. Parsing expression grammars (PEG) allows construction of linear time parsers using packrat algorithm. These techniques however suffer from problem of prefix hiding. We use alternative formalism of relativized regular expressions REGREG for which top-down backtracking parser runs in linear time. This formalism allows to construct fast parsers with modest memory requirements for practical grammars. We show that our formalism is equivalent to PEG.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.