2000 character limit reached
Walking on SR-automata to detect grammar ambiguity
Published 7 Feb 2019 in cs.FL | (1902.02439v1)
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.
Paper Prompts
Sign up for free to create and run prompts on this paper.