摘要: 介绍了在遗产软件的基础上建立新系统的一种方法——代码翻译。讨论了代码翻译及在代码翻译中出现的问题,及怎样用再工程的思想来解决源语言和目标语言不兼容的问题。论述了面向对象的上下文无关文法的一些基本概念和一些限定规则,讨论了基于面向对象的上下文无关文法的元对象分析法。
关键词:
遗产软件,
代码翻译,
再工程,
面向对象的上下文无关文法,
元对象
Abstract: This paper introduces a method to establish a new system based on a legacy software——code-to-code translation. Code-to-code translation and its problems are argued, then re-engineering is introduced to solve the incompatibility between source language and target language. Then some conceptions of object-oriented context free grammar (OO-CFG) are introduced, as well as the restrict rules of OO-CFG. At last, metaobject parsing based on OO-CFG is discussed.
中图分类号:
杨卫平,赵合计. 遗产软件的代码翻译[J]. , 2004, 30(06): 83-85.
YANG Weiping,,ZHAO Heji. Code-to-code Translation of Legacy Software[J]. , 2004, 30(06): 83-85.