首页>
外国专利>
METHOD AND APPARATUS FOR TRANSLATING SOURCE CODE FROM ONE HIGH-LEVEL COMPUTER LANGUAGE TO ANOTHER
METHOD AND APPARATUS FOR TRANSLATING SOURCE CODE FROM ONE HIGH-LEVEL COMPUTER LANGUAGE TO ANOTHER
展开▼
机译:用于将源代码从一种高级计算机语言转换为另一种语言的方法和装置
展开▼
页面导航
摘要
著录项
相似文献
摘要
A method, system, apparatus, and program for translating one computer language to another using doubly-rooted tree data structures. A doubly- rooted tree is the combination of two sets of hierarchically related objects sharing a common set of leaves. An N-rooted tree is also described. When a doubly-rooted tree is constructed in the specified manner and then translated to a second doubly-rooted tree, source language code is transformed into target language code. In addition, the translation preserves preprocessor characteristics of the source language code including macros, conditionally compiled regions of code, source inclusion statements, and comments.
展开▼