首页> 外文期刊>Science of Computer Programming >Silver: An extensible attribute grammar system
【24h】

Silver: An extensible attribute grammar system

机译:银牌:可扩展的属性语法系统

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

摘要

Attribute grammar specification languages, like many domain-specific languages, offer significant advantages to their users, such as high-level declarative constructs and domain-specific analyses. Despite these advantages, attribute grammars are often not adopted to the degree that their proponents envision. One practical obstacle to their adoption is a perceived lack of both domain-specific and general purpose language features needed to address the many different aspects of a problem. Here we describe Silver, an extensible attribute grammar specification system, and show how it can be extended with general purpose features such as pattern matching and domain-specific features such as collection attributes and constructs for supporting data-flow analysis of imperative programs. The result is an attribute grammar specification language with a rich set of language features. Silver is implemented in itself by a Silver attribute grammar and utilizes forwarding to implement the extensions in a cost-effective manner.
机译:与许多领域特定语言一样,属性语法规范语言为用户提供了显着的优势,例如高级声明性构造和领域特定分析。尽管有这些优点,属性语法常常不如其支持者所设想的那样被采用。采用它们的一个实际障碍是人们认为缺乏解决问题的许多不同方面所需的特定领域和通用语言功能。在这里,我们描述了Silver(可扩展的属性语法规范系统),并展示了如何使用通用功能(例如模式匹配)和特定于域的功能(例如集合属性和用于支持命令性程序的数据流分析的结构)进行扩展。结果是具有多种语言功能的属性语法规范语言。 Silver本身由Silver属性语法实现,并利用转发以经济高效的方式实现扩展。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号