首页> 外文会议>International Haifa verification conference >Generating JML Specifications from Alloy Expressions
【24h】

Generating JML Specifications from Alloy Expressions

机译:从合金表达式生成JML规范

获取原文
获取外文期刊封面目录资料

摘要

Java Modeling Language (JML) is a specification language for Java programs, that follows the design by contract paradigm. However, it is not always easy to use JML, for example when specifying properties of linked data structures. Alloy, on the other hand, is a relational specification language with a built-in transitive closure operator, which makes it particularly suitable for writing concise specifications of linked data structures. This paper presents Alloy2JML, a tool that generates JML specifications from Alloy expression, in order to support both Alloy and JML specifications in the KeY verification engine. This translation allows Java programs with Alloy specifications to be fully verified for correctness. Moreover, Alloy2JML lets Alloy specifications be employed in a variety of tools that accept only JML as their specification language. Supporting Alloy has the additional advantage that users can validate the specifications beforehand using the Alloy Analyzer.
机译:Java建模语言(JML)是Java程序的规范语言,它遵循契约范式进行设计。但是,例如在指定链接数据结构的属性时,使用JML并不总是那么容易。另一方面,Alloy是具有内置传递闭包运算符的关系规范语言,这使其特别适合于编写链接数据结构的简洁规范。本文介绍了Alloy2JML,这是一种根据Alloy表达式生成JML规范的工具,目的是在KeY验证引擎中同时支持Alloy和JML规范。这种转换可以完全验证具有Alloy规范的Java程序的正确性。此外,Alloy2JML允许在仅接受JML作为其规范语言的各种工具中采用Alloy规范。辅助合金的另一个优点是,用户可以预先使用合金分析仪来验证规格。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号