Analyzing Ambiguity of Context-Free Grammars

@article{Brabrand2007AnalyzingAO,
  title={Analyzing Ambiguity of Context-Free Grammars},
  author={Claus Brabrand and R. Giegerich and Anders M{\o}ller},
  journal={Sci. Comput. Program.},
  year={2007},
  volume={75},
  pages={176-191}
}
  • Claus Brabrand, R. Giegerich, Anders Møller
  • Published 2007
  • Computer Science
  • Sci. Comput. Program.
  • 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… CONTINUE READING
    69 Citations

    Figures, Tables, and Topics from this paper

    Ambiguity Detection Using Approximation Techniques
    • Highly Influenced
    Ambiguity Detection Methods in Context Free Grammar
    • PDF
    Introduction to stochastic context free grammars.
    • R. Giegerich
    • Computer Science, Medicine
    • Methods in molecular biology
    • 2014
    • 15
    • PDF
    Faster ambiguity detection by grammar filtering
    • 19
    • PDF
    Search-Based Ambiguity Detection in Context-Free Grammars
    • 4
    • PDF
    Ambiguity Detection for Programming Language Grammars
    • 61
    • PDF
    Semantics and Ambiguity of Stochastic RNA Family Models
    • 18
    • PDF
    The Usability of Ambiguity Detection Methods for Context-Free Grammars
    • H. Basten
    • Computer Science
    • Electron. Notes Theor. Comput. Sci.
    • 2009
    • 20
    • Highly Influenced
    • PDF
    Tracking Down the Origins of Ambiguity in Context-Free Grammars
    • H. Basten
    • Mathematics, Computer Science
    • ICTAC
    • 2010
    • 22
    • PDF

    References

    SHOWING 1-10 OF 65 REFERENCES
    Ambiguity in context-free grammars
    • 18
    Ambiguity Detection Methods for Context-Free Grammars
    • 16
    • PDF
    The Usability of Ambiguity Detection Methods for Context-Free Grammars
    • H. Basten
    • Computer Science
    • Electron. Notes Theor. Comput. Sci.
    • 2009
    • 20
    • Highly Influential
    • PDF
    Effective ambiguity checking in biosequence analysis
    • 36
    Conservative Ambiguity Detection in Context-Free Grammars
    • 41
    • PDF
    LR-Regular Grammars - an Extension of LR(k) Grammars
    • 97
    • PDF
    On the Translation of Languages from Left to Right
    • D. Knuth
    • Computer Science
    • Inf. Control.
    • 1965
    • 815
    • PDF
    Explaining and Controlling Ambiguity in Dynamic Programming
    • 38
    • PDF
    An efficient context-free parsing algorithm
    • 1,235
    • PDF