English

Ordered Context-Free Grammars Revisited

Formal Languages and Automata Theory 2023-09-19 v1

Abstract

We continue our study of ordered context-free grammars, a grammar formalism that places an order on the parse trees produced by the corresponding context-free grammar. In particular, we simplify our previous definition of a derivation of a string for a given ordered context-free grammar, and present a parsing algorithm, using shared packed parse forests, with time complexity O(n^4), where n is the length of the input string being parsed.

Keywords

Cite

@article{arxiv.2309.08717,
  title  = {Ordered Context-Free Grammars Revisited},
  author = {Brink van der Merwe},
  journal= {arXiv preprint arXiv:2309.08717},
  year   = {2023}
}

Comments

In Proceedings NCMA 2023, arXiv:2309.07333

R2 v1 2026-06-28T12:23:05.173Z