首页    期刊浏览 2024年12月13日 星期五
登录注册

文章基本信息

  • 标题:Search-Based Ambiguity Detection in Context-Free Grammars
  • 作者:Naveneetha Vasudevan ; Laurence Tratt
  • 期刊名称:OASIcs : OpenAccess Series in Informatics
  • 电子版ISSN:2190-6807
  • 出版年度:2012
  • 卷号:28
  • 页码:142-148
  • DOI:10.4230/OASIcs.ICCSW.2012.142
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:Context Free Grammars (CFGs) can be ambiguous, allowing inputs to be parsed in more than one way, something that is undesirable for uses such as programming languages. However, statically detecting ambiguity is undecidable. Though approximation techniques have had some success in uncovering ambiguity, they can struggle when the ambiguous subset of the grammar is large. In this paper, we describe a simple search-based technique which appears to have a better success rate in such cases.
  • 关键词:Ambiguity; Parsing
Loading...
联系我们|关于我们|网站声明
国家哲学社会科学文献中心版权所有