首页> 外文期刊>Software and systems modeling >Reusable specification templates for defining dynamic semantics of DSLs
【24h】

Reusable specification templates for defining dynamic semantics of DSLs

机译:可重用的规范模板,用于定义DSL的动态语义

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

摘要

In the context of model-driven engineering, the dynamic (execution) semantics of domain-specific languages (DSLs) is usually not specified explicitly and stays (hard)coded in model transformations and code generation. This poses challenges such as learning, debugging, understanding, maintaining, and updating a DSL. Facing the lack of supporting tools for specifying the dynamic semantics of DSLs (or programming languages in general), we propose to specify the architecture and the detailed design of the software that implements the DSL, rather than requirements for the behavior expected from DSL programs. To compose such a specification, we use specification templates that capture software design solutions typical for the (application) domain of the DSL. As a result, on the one hand, our approach allows for an explicit and clear definition of the dynamic semantics of a DSL, supports separation of concerns and reuse of typical design solutions. On the other hand, we do not introduce (yet another) specification formalism, but we base our approach on an existing formalism and apply its extensive tool support for verification and validation to the dynamic semantics of a DSL.
机译:在模型驱动工程的上下文中,通常不会明确指定领域特定语言(DSL)的动态(执行)语义,并在模型转换和代码生成过程中保持(硬)编码。这带来了诸如学习,调试,理解,维护和更新DSL等挑战。面对缺乏用于指定DSL(或一般而言的编程语言)动态语义的支持工具,我们建议指定实现DSL的软件的体系结构和详细设计,而不是要求DSL程序预期的行为。为了编写这样的规范,我们使用规范模板来捕获DSL(应用)域中典型的软件设计解决方案。结果,一方面,我们的方法允许对DSL的动态语义进行清晰明确的定义,支持关注点分离和典型设计解决方案的重用。另一方面,我们没有引入(又是另一种)规范形式,但是我们将方法基于现有形式,并将其广泛的工具支持用于对DSL的动态语义进行验证和确认。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号