首页> 外文期刊>Software and systems modeling >Code generation for a family of executable modelling notations
【24h】

Code generation for a family of executable modelling notations

机译:一系列可执行建模符号的代码生成

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

摘要

We are investigating semantically configurable model-driven engineering (MDE). The goal of this work is a modelling environment that supports flexible, configurable modelling notations, in which specifiers can configure the semantics of notations to suit their needs and yet still have access to the types of analysis tools and code generators normally associated with MDE. In this paper, we describe semantically configurable code generation for a family of behavioural modelling notations. The family includes variants of statecharts, process algebras, Petri Nets, and SDL88. The semantics of this family is defined using template semantics, which is a parameterized structured operational semantics in which parameters represent semantic variation points. A specific notation is derived by instantiating the family's template semantics with parameter values that specify semantic choices. We have developed a code-generator generator (CGG) that creates a suitable Java code generator for a subset of derivable modelling notations. Our prototype CGG supports 26 semantics parameters, 89 parameter values, and 7 composition operators. As a result, we are able to produce code generators for a sizable family of modelling notations, though at present the performance of our generated code is about an order of magnitude slower than that produced by commercial-grade generators.
机译:我们正在研究语义可配置的模型驱动工程(MDE)。这项工作的目标是建立一个支持灵活的,可配置的建模表示法的建模环境,在该环境中,说明符可以配置表示法的语义以适合其需求,但仍可以访问通常与MDE相关联的分析工具和代码生成器的类型。在本文中,我们描述了一系列行为建模符号的语义可配置代码生成。该系列包括状态图,过程代数,Petri网和SDL88的变体。该家族的语义是使用模板语义定义的,模板语义是参数化的结构化操作语义,其中参数表示语义变化点。通过使用指定语义选择的参数值实例化族的模板语义来派生特定的表示法。我们已经开发了一种代码生成器生成器(CGG),它为可派生的建模符号的子集创建了一个合适的Java代码生成器。我们的原型CGG支持26个语义参数,89个参数值和7个组合运算符。结果,我们能够为大量的建模符号生成代码生成器,尽管目前我们生成的代码的性能比商业级生成器生成的性能要慢一个数量级。

著录项

  • 来源
    《Software and systems modeling》 |2012年第2期|p.251-272|共22页
  • 作者单位

    David R. Cheriton School of Computer Science, University of Waterloo, Waterloo, ON N2L 3G1, Canada;

    David R. Cheriton School of Computer Science, University of Waterloo, Waterloo, ON N2L 3G1, Canada;

    David R. Cheriton School of Computer Science, University of Waterloo, Waterloo, ON N2L 3G1, Canada;

    David R. Cheriton School of Computer Science, University of Waterloo, Waterloo, ON N2L 3G1, Canada;

  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    model-driven engineering; code generation;

    机译:模型驱动的工程;代码生成;

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号