首页> 外文期刊>Journal of Logic and Algebraic Programming >Formalization and correctness of predictive shift-reduce parsers for graph grammars based on hyperedge replacement
【24h】

Formalization and correctness of predictive shift-reduce parsers for graph grammars based on hyperedge replacement

机译:基于超特钢替代的绘图语法的预测变化减少解析器的形式化和正确性

获取原文
获取原文并翻译 | 示例

摘要

Hyperedge replacement (HR) grammars can generate NP-complete graph languages, which makes parsing hard even for fixed HR languages. Therefore, we study predictive shift-reduce (PSR) parsing that yields efficient parsers for a subclass of HR grammars, by generalizing the concepts of SLR(1) string parsing to graphs. We formalize the construction of PSR parsers and show that it is correct. PSR parsers run in linear space and time, and are more efficient than the predictive top-down (PTD) parsers recently developed by the authors. (C) 2019 Elsevier Inc. All rights reserved.
机译:HIFEBEGE替换(HR)语法可以生成NP完整的图形语言,这甚至可以为固定的HR语言进行解析。因此,我们研究了预测的转移 - 减少(PSR)解析,通过推广SLR(1)字符串解析到图形来产生HR语法的子类的有效解析器。我们正规化PSR解析器的构建,并表明它是正确的。 PSR解析器在线性空间和时间运行,比作者最近开发的预测自上而下(PTD)解析器更有效。 (c)2019 Elsevier Inc.保留所有权利。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号