首页> 外文会议>International Conference on Objects, Models, Components, Patterns >Automated Translation of Java Source Code to Eiffel
【24h】

Automated Translation of Java Source Code to Eiffel

机译:Java源代码的自动翻译为埃菲尔

获取原文

摘要

Reusability is an important software engineering concept actively advocated for the last forty years. While reusability has been addressed for systems implemented using the same programming language, it does not usually handle interoperability with different programming languages. This paper presents a solution for the reuse of Java code within Eiffel programs based on a source-to-source translation from Java to Eiffel. The paper focuses on the critical aspects of the translation and illustrates them by formal means. The translation is implemented in the freely available tool J2Eif; it provides Eiffel replacements for the components of the Java runtime environment, including Java Native Interface services and reflection mechanisms. Our experiments demonstrate the practical usability of the translation scheme and its implementation, and record the performance slow-down compared to custom-made Eiffel applications: automatic translations of java.util data structures, java.io services, and SWT applications can be re-used as Eiffel programs, with the same functionalities as their original Java implementations.
机译:可重用能力是一个重要的软件工程概念,积极主动倡导过去四十年。虽然使用相同的编程语言实现的系统已经解决了可重用性,但它通常不会以不同的编程语言处理互操作性。本文基于从Java到Eiffel的源转换,介绍了eiffel程序中的Java代码的解决方案。该文件侧重于翻译的关键方面,并通过正式手段说明它们。翻译是在自由的工具J2EIF中实现的。它为Java运行时环境的组件提供了eiffel替换,包括Java本机接口服务和反射机制。我们的实验表明了翻译方案的实际可用性及其实施,并记录与定制埃菲尔应用程序相比的性能缓慢下降:Java.util数据结构,Java.io服务和SWT应用程序的自动翻译可以重新用作eiffel程序,具有与原始Java实现相同的功能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号