首页> 外文会议>International conference on software engineering and formal methods >Formalizing DSL Semantics for Reasoning and Conformance Testing
【24h】

Formalizing DSL Semantics for Reasoning and Conformance Testing

机译:形式化DSL语义以进行推理和一致性测试

获取原文

摘要

A Domain Specific Language (DSL) focuses on the essential concepts in a certain problem domain, thus abstracting from low-level implementation details. In combination with code generators, DSLs bring software development closer to domain requirements. The development of DSLs usually centers around the grammar and a code generator; there is little attention for the semantics of the DSL. However, a formal semantics is essential for reasoning about specifications in terms of the DSL (i.e., DSL instances). We argue that the semantics should be expressed independent of a code generator. Thus semantic issues can be revealed that could otherwise remain undetected. We also use the semantics to define the conformance of an implementation to a DSL instance, and to automatically test conformance of the (generated) implementation code to a DSL instance. We illustrate our approach using an industrial prototype DSL for collision prevention.
机译:域特定语言(DSL)专注于特定问题域中的基本概念,从而从低级实现细节中抽象出来。结合代码生成器,DSL使软件开发更接近领域要求。 DSL的开发通常围绕语法和代码生成器。 DSL的语义很少受到关注。但是,形式上的语义对于根据DSL(即DSL实例)进行规范推理是必不可少的。我们认为语义应该独立于代码生成器来表达。因此,可以揭示语义问题,否则这些语义问题将无法被发现。我们还使用语义来定义实现与DSL实例的一致性,并自动测试(生成的)实现代码与DSL实例的一致性。我们将说明使用工业原型DSL预防冲突的方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号