首页> 外文学位 >Building an extensible modeling language framework with enhanced attribute grammars.
【24h】

Building an extensible modeling language framework with enhanced attribute grammars.

机译:使用增强的属性语法构建可扩展的建模语言框架。

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

摘要

Domain-specific languages (DSLs) provide the expressive power not available in general-purpose programming languages through abstractions and notations specific to their intended domains. However, domain-specificity restricts the applicability and flexibility of a language, and it is extremely difficult to create a language with the "right" combination of domain-specific features and back-end translations that satisfies the needs of most, or even a considerable number of users. The field of model-based development of safety-critical software control systems poses an example of this dilemma---with diverse application domains and ever advancing analysis techniques it is impossible for users to reach a meaningful consensus of what modeling language is "right".; Here we propose an alternative approach: instead of trying to create the "right" language, we can build an extensible modeling language framework consisting of an evolving and expanding collection of modeling language features and back-end translations. This framework emphasizes extensibility, the characteristic that new language constructs and new translations can be added as separate extensions cost-effectively, and flexibility, the capability to compose these features to obtain desired languages with desired translations. In this dissertation we illustrate the design and implementation of a prototype for such a framework. This prototype is implemented using the higher-order attribute grammar language and tool Silver. The natural composability of attribute grammars, together with the special Silver features forwarding, aspects, collection attributes, and the module system enables the composable construction of extensions and translations.; In addition, a large part of this dissertation is devoted to extensions to Silver to make it more practical for such tasks. We focus on its general-purpose programming capability, and features such as pattern-matching, functions, and parametric polymorphism are defined and added to Silver. They are inspired by functional languages but designed to work seamlessly with the data, types, and operations of attribute grammars. These feature additions to Silver will help provide more complete programming supports for building the kind of extensible language frameworks described in this dissertation. Taken together, this research provides both a road map and practical language and tool support for building extensible frameworks for modeling and other domain-specific languages.
机译:特定领域语言(DSL)通过特定于其预期领域的抽象和符号来提供通用编程语言所没有的表达能力。但是,领域特定性限制了语言的适用性和灵活性,并且很难用满足大多数(甚至是相当可观的)需求的领域特定功能和后端翻译的“正确”组合来创建语言用户数。安全关键的软件控制系统的基于模型的开发领域就构成了这一难题的一个例子-应用领域多种多样,分析技术不断发展,用户无法就哪种建模语言“正确”达成有意义的共识。 。;在这里,我们提出了另一种方法:代替尝试创建“正确的”语言,我们可以构建可扩展的建模语言框架,该框架由不断发展和扩展的建模语言功能和后端翻译组成。该框架强调可扩展性,可以成本有效地将新语言结构和新翻译作为单独的扩展添加的特性,灵活性,组合这些功能以获得具有所需翻译的所需语言的能力。在本文中,我们说明了这种框架的原型的设计和实现。该原型是使用高级属性语法语言和工具Silver来实现的。属性语法的自然可组合性,以及特殊的Silver功能转发,方面,集合属性和模块系统,使扩展和翻译的可组合构造成为可能。另外,本文的很大一部分致力于Silver的扩展,以使其更实用。我们专注于其通用编程能力,并且定义了诸如模式匹配,功能和参数多态性之类的功能并将其添加到Silver中。它们受功能语言的启发,但旨在与属性语法的数据,类型和操作无缝协作。 Silver的这些新增功能将有助于为构建本文所描述的那种可扩展语言框架提供更完整的编程支持。两者合计,这项研究为构建建模和其他特定领域语言的可扩展框架提供了路线图和实用语言以及工具支持。

著录项

  • 作者

    Gao, Jimin.;

  • 作者单位

    University of Minnesota.;

  • 授予单位 University of Minnesota.;
  • 学科 Computer Science.
  • 学位 Ph.D.
  • 年度 2007
  • 页码 144 p.
  • 总页数 144
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类 自动化技术、计算机技术;
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号