首页> 外文期刊>Science of Computer Programming >Evaluating GLR parsing algorithms
【24h】

Evaluating GLR parsing algorithms

机译:评估GLR解析算法

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

摘要

We describe the behaviour of three variants of GLR parsing: (ⅰ) Farshi's original correction to Tomita's non-general algorithm; (ⅱ) the Right Nulled GLR algorithm which provides a more efficient generalisation of Tomita and (ⅲ) the Binary Right Nulled GLR algorithm, on three types of LR table. We present a guide to the parse-time behaviour of these algorithms which illustrates the inefficiencies in conventional Farshi-style GLR parsing. We also describe the tool GTB (Grammar Tool Box) which provides a platform for comparative studies of parsing algorithms; and use GTB to exercise the three GLR algorithms running with LR(0), SLR(1) and LR(1) tables for ANSI-C, ISO-Pascal and IBM VS-COBOL. We give results showing the size of the structures constructed by these parsers and the amount of searching required during the parse, which abstracts their runtime.
机译:我们描述了GLR解析的三种变体的行为:(ⅰ)Farshi对Tomita的非通用算法的原始修正; (ⅱ)在三种类型的LR表上提供更有效的Tomita归纳的Right Nulled GLR算法,以及(ⅲ)Binary Right Nulled GLR算法。我们提供了这些算法的解析时间行为的指南,该指南说明了传统的Farshi风格的GLR解析效率低下。我们还将描述工具GTB(语法工具箱),该工具为解析算法的比较研究提供了一个平台。并使用GTB来对ANSI-C,ISO-Pascal和IBM VS-COBOL的三种LR(0),SLR(1)和LR(1)表运行的GLR算法进行练习。我们给出的结果显示了这些解析器构造的结构的大小以及解析过程中所需的搜索量,从而抽象了它们的运行时。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号