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 to conservatively approximate the problem based on local regular approximations and grammar unfoldings. As an application, we consider grammars that occur in RNA analysis in bioinformatics, and we demonstrate that our static analysis of context-free grammars is sufficiently precise and efficient to be practically useful.
Original language | English |
---|---|
Title of host publication | Proc. 12th International Conference on Implementation and Application of Automata |
Number of pages | 15 |
Publication date | 2007 |
Publication status | Published - 2007 |
Event | 12th International Conference on Implementation and Application of Automata - Prague, Czech Republic Duration: 16 Jul 2007 → 18 Jul 2007 |
Conference
Conference | 12th International Conference on Implementation and Application of Automata |
---|---|
Country/Territory | Czech Republic |
City | Prague |
Period | 16/07/2007 → 18/07/2007 |
Keywords
- ambiguity
- analysis
- context-free grammars
- deterministic finite automata
- RNA analysis