首页> 外国专利> Method and apparatus for conversion to high-level computer language to another computer language from the luxury of a single source code

Method and apparatus for conversion to high-level computer language to another computer language from the luxury of a single source code

机译:用于从单一源代码的奢华转换为高级计算机语言到另一种计算机语言的方法和装置

摘要

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.
机译:一种使用双根树数据结构将一种计算机语言翻译成另一种计算机语言的方法,系统,装置和程序。双根树是共享同一个叶子集的两组层次结构相关的对象的组合。还描述了N根树。当以指定的方式构造双根树然后转换为第二个双根树时,源语言代码将转换为目标语言代码。此外,翻译保留了源语言代码的预处理器特性,包括宏,条件编译的代码区域,源包含语句和注释。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号