Skip to search boxSkip to navigationSkip to main content

Analyzing Ambiguity of Context-Free Grammars

  • Bielefeld University of Applied Sciences
Research Output:
Journal Article or Conference Article in Journal
Journal article
Peer-review

Publication Information

Output type

Research Output:
Journal Article or Conference Article in Journal
Journal article
Peer-review

Original language

English

Pages from-to (Number of pages)

Pages 176-191 (16 pages)

Journal (Volume, Issue Number)

Science of Computer Programming (Volume 75, Issue 3)

Publication milestones

  • Published - 2010

Publication status

Published - 2010

ISSN

0167-6423

Publication IDs

  • Scopus: 73649141265

Abstract

It has been known since 1962 that the ambiguity problem for context-free grammars is undecidable. Ambiguity in context-free grammars is a recurring problem in language design and parser generation, as well as in applications where grammars are used as models of real-world physical structures. We observe that there is a simple linguistic  characterization of the grammar ambiguity problem, and we show how to exploit this by presenting an ambiguity analysis framework based on conservative language approximations. As a concrete example, we propose a technique based on local regular approximations and grammar unfoldings. We evaluate the analysis using grammars that occur
in RNA analysis in bioinformatics, and we demonstrate that it is sufficiently precise and efficient to be practically useful.

Publication metrics

PlumX

Citations
32
Captures
43
Mentions
1