首页> 外文OA文献 >Covers of Attribute Grammars and Sub-Protocol .Attribute Evaluators
【2h】

Covers of Attribute Grammars and Sub-Protocol .Attribute Evaluators

机译:属性语法和子协议的封面。属性评估器

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

A terminology and notation, semantically-trivial covers, is introduced for describing a class of meaning-preserving transformations of attribute grammars. Two elements of this class, p-split and c-split, are studied in some detail and it is shown that for any non-circular attribute grammar G, p-split • c-split(G) is a uniform attribute grammar. The class of uniform attribute grammars is of interest because particularly efficient attribute evaluators can be built for them: straight-line evaluators. Using these transformations to build a uniform grammar constructs a straight-line evaluator for the result as a side-effect. The class of uniform attribute grammars properly includes those attribute grammars that can be evaluated in left-to-right passes, alternating passes, sweeps, and also includes the class of ordered attribute grammars. The straight-line evaluator for p-split(G) can be translated into a evaluator for G, which is not a straight-line evaluator but is nearly as efficient. This protocol-evaluator is compared to the evaluator of Kennedy and Warren and Nielson's direct evaluator. It can be viewed as an optimized, pre-compiled version of the latter, and is in some ways better and some ways worse than the Kennedy-Warren evaluator. From the comparison of the relative strengths and weaknesses of the protocol-evaluator and the Kennedy-Warren evaluator a new evaluator is derived, the sub-protocol-evaluator, which is more efficient than either.
机译:引入了术语和符号(语义上比较琐碎的内容)来描述属性语法的一类保留含义的转换。对该类的两个元素p-split和c-split进行了详细的研究,结果表明,对于任何非圆形属性语法G,p-split•c-split(G)是一个统一的属性语法。统一属性语法的类别很受关注,因为可以为其建立特别有效的属性评估器:直线评估器。使用这些转换来构建统一的语法,可以将直线评估器构造为结果的副作用。统一属性语法的类别适当地包括可以在从左到右的遍历,交替遍历,横扫中进行评估的那些属性语法,并且还包括有序的属性语法。 p-split(G)的直线评估器可以转换为G的评估器,它不是直线评估器,但效率几乎相同。该协议评估者与肯尼迪和沃伦以及尼尔森的直接评估者进行了比较。可以将其视为后者的优化,预编译版本,并且在某种程度上比肯尼迪·沃伦(Kennedy-Warren)评估者更好,甚至更糟。通过比较方案评估者和Kennedy-Warren评估者的相对优势和劣势,得出了一个新的评估者,即子协议评估者,该评估者效率更高。

著录项

  • 作者

    Farrow Rodney;

  • 作者单位
  • 年度 1983
  • 总页数
  • 原文格式 PDF
  • 正文语种 {"code":"en","name":"English","id":9}
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号