English

Walking on SR-automata to detect grammar ambiguity

Formal Languages and Automata Theory 2019-02-08 v1

Abstract

We exploit the nondeterminism of LR parsing tables to reason about grammar ambiguity after a conflict-driven strategy. First, from parsing tables we define specialized structures, called SR-automata. Next, we search for ambiguous words along the paths of SR-automata that reach a conflict state and then diverge along the branches corresponding to distinct resolutions of the conflict.

Keywords

Cite

@article{arxiv.1902.02439,
  title  = {Walking on SR-automata to detect grammar ambiguity},
  author = {Paola Quaglia},
  journal= {arXiv preprint arXiv:1902.02439},
  year   = {2019}
}
R2 v1 2026-06-23T07:34:08.869Z