arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1902.02439cs.FL
收藏

Walking on SR-automata to detect grammar ambiguity

Paola Quaglia

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑