将Esope迁移到Fortran 2008使用模型转换
Migrating Esope to Fortran 2008 using model transformations
AI总结:
本文提出了一种基于模型转换的方法,用于将带有专有扩展的FORTRAN 77迁移到Fortran 2008,同时保持代码的可读性和抽象级别。
摘要:
遗留编程语言如FORTRAN 77在许多工业应用中仍然发挥着关键作用。维护和现代化这些语言具有挑战性,尤其是在迁移到新标准如Fortran 2008时。这在存在遗留专有扩展的情况下更加复杂,因为它们的语义通常基于旧的上下文(遗留语言的限制、领域逻辑等)。本文提出了一种自动将带有专有扩展的FORTRAN 77(名为Esope)迁移到Fortran 2008的方法。我们介绍了一个工具,将Esope源代码转换为Fortran 2008。在支持生成代码可读性的同时,我们希望保持Esope提供的抽象级别。我们的方法使用基于模型的工程技术,通过转换生成目标模型,从而导出易于阅读的Fortran 2008源代码。我们讨论了我们方法的优势、限制和可维护性考虑,并提供了其可扩展性和适应不断变化需求的见解。
英文摘要:
Legacy programming languages such as FORTRAN 77 still play a vital role in many industrial applications. Maintaining and modernizing these languages is challenging, especially when migrating to newer standards such as Fortran 2008. This is exacerbated in the presence of legacy proprietary extensions on such legacy languages, because their semantics are often based on old context (limits of legacy language, domain logic,...). This paper presents an approach for automatically migrating FORTRAN 77 with a proprietary extension, named Esope, to Fortran 2008. We introduce a tool that converts Esope source code to Fortran 2008. While supporting readability of the generated code, we want to maintain the level of abstraction provided by Esope. Our method uses model-driven engineering techniques, with transformations to generate a target model from which we export easy-to-read Fortran 2008 source code. We discuss the advantages, limitations, and maintainability considerations of our approach and provide insights into its scalability and adaptability to evolving requirements.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。