arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1511.08049cs.SEcs.LOcs.PL
收藏

使用正式DSL语义检查DSL转换正确性的行业经验

Industrial Experiences with a Formal DSL Semantics to Check Correctness of DSL Transformations

Sarmen Keshishzadeh, Arjan J. Mooij, Jozef Hooman

摘要:

领域特定语言(DSL)从实现细节中抽象出来,并与领域专家对软件组件的推理方式保持一致。DSL的开发通常围绕生成实现代码或分析模型的语法和转换。语言的语义通常是隐式定义的,并根据实现代码的转换来定义。在存在来自DSL的多个转换的情况下,生成的工件相对于DSL的语义的一致性是一个相关的问题。我们表明,一个正式的语义是必不可少的检查生成的工件之间的一致性。我们利用工业项目中的形式化语义,并使用形式化技术的基础上,等价性检查和基于模型的测试的一致性检查。我们报告我们的经验,这种方法在一个工业发展项目。

英文摘要:

A domain specific language (DSL) abstracts from implementation details and is aligned with the way domain experts reason about a software component. The development of DSLs is usually centered around a grammar and transformations that generate implementation code or analysis models. The semantics of the language is often defined implicitly and in terms of a transformation to implementation code. In the presence of multiple transformations from the DSL, the consistency of the generated artifacts with respect to the semantics of the DSL is a relevant issue. We show that a formal semantics is essential for checking the consistency between the generated artifacts. We exploit the formal semantics in an industrial project and use formal techniques based on equivalence checking and model-based testing for consistency checking. We report about our experience with this approach in an industrial development project.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑