首页> 外文会议>WoTUG technical meeting >JCircus 2.0: an Extension of an Automatic Translator from Circus to Java
【24h】

JCircus 2.0: an Extension of an Automatic Translator from Circus to Java

机译:Jcircus 2.0:从马戏团到Java的自动翻译的扩展

获取原文

摘要

The use of formal methods in the development of concurrent systems considerably reduces the complexity of specifying their behaviour and verifying properties that are inherent to them. Development, however, targets the generation of executable programs; hence, translating the final specification into a practical programming language becomes imperative. This translation is usually rather problematic due to the high probability of introducing errors in manual translations: the mapping from some of the original concepts in the formal concurrency model into a corresponding construct in the programming language is non-trivial. In recent years, there is a growing effort in providing automatic translation from formal specifications into programming languages. One of these efforts, JCircus, translates specifications written in Circus (a combination of Z and CSP) into Java programs that use JCSP, a library that implements most of the CSP constructs. The subtle differences between JCSP and Circus implementation of concurrency, however, imposed restrictions to the translation strategy and, consequently, to JCircus. In this paper, we extend JCircus by providing: (1) a new optimised translation strategy to multi-way synchronisation; (2) the translation of complex communications, and; (3) the translation of CSP sharing parallel and interleaving. A performance analysis of the resulting code is also in the context of this paper and provides important insights into the practical use of our results.
机译:在并发系统开发中使用正式方法可显着降低指定其行为和验证所固有的属性的复杂性。但是,开发目标是产生可执行计划的生成;因此,将最终规范转化为实用的编程语言变得势在必行。由于手动翻译中引入错误的高概率,这种转换通常是有问题的:从正式并发模型中的一些原始概念的映射到编程语言中的相应构造是非微不足道的。近年来,在向编程语言中提供自动翻译的努力日益增长。这些努力之一,Jcircus,将以马戏团(z和csp组合)编写的规范转换为使用JCSP的Java程序,该库实现大多数CSP构造。然而,JCSP与马戏团实施并发的微妙差异,对翻译策略的限制并因此对JCircus进行了限制。在本文中,我们通过提供:(1)对多路同步的新优化翻译策略来扩展Jcircus; (2)复杂通信的翻译,和; (3)CSP共享平行和交错的翻译。结果分析也在本文的上下文中,并为我们的结果实际使用提供了重要的见解。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号