首页> 外文期刊>Electronic Communications of the EASST >Test-driven Language Derivation with Graph Transformation-Based Dynamic Meta Modeling
【24h】

Test-driven Language Derivation with Graph Transformation-Based Dynamic Meta Modeling

机译:基于图转换的动态元建模的测试驱动语言推导

获取原文
           

摘要

Deriving a new language L_B from an already existing one L_A is a typical task in domain-specific language engineering. Here, besides adjusting L_A's syntax, the language engineer has to modify the semantics of L_A to derive L_B's semantics. Particularly, in case of behavioral modeling languages, this is a difficult and error-prone task, as changing the behavior of language elements or adding behavior for new elements might have undesired side effects.Therefore, we propose a test-driven language derivation process. In a first step, the language engineer creates example models containing the changed or newly added elements in different contexts. For each of these models, the language engineer also precisely describes the expected behavior. In a second step, each example model and its description of behavior is transformed into an executable test case. Finally, these test cases are used when deriving the actual semantics of L_B - at any time, the language engineer can run the tests to verify whether the changes he performed on L_A's semantics indeed produce the desired behavior. In this paper, we illustrate the approach using our graph transformation-based semantics specification technique Dynamic Meta Modeling. This is once more an example where the graph transformation approach shows its strengths and appropriateness to support software engineering tasks as, e.g., model transformations, software specifications, or tool development.
机译:从现有的L_A派生一种新的语言L_B是特定领域语言工程中的典型任务。在这里,除了调整L_A的语法外,语言工程师还必须修改L_A的语义以得出L_B的语义。特别是在行为建模语言的情况下,这是一项困难且容易出错的任务,因为更改语言元素的行为或为新元素添加行为可能会带来不良后果。因此,我们提出了一种测试驱动的语言推导过程。第一步,语言工程师创建示例模型,其中包含在不同上下文中更改或新增的元素。对于这些模型中的每一个,语言工程师还精确地描述了预期的行为。第二步,将每个示例模型及其行为描述转换为可执行的测试用例。最后,在推导L_B的实际语义时会使用这些测试用例-语言工程师可以随时运行测试以验证他对L_A的语义所做的更改是否确实产生了所需的行为。在本文中,我们使用基于图变换的语义规范技术动态元建模来说明该方法。这再次是一个示例,其中图形变换方法显示了其在支持软件工程任务(例如模型变换,软件规格或工具开发)方面的优势和适用性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号