首页> 外国专利> LINKING THE TRANSFORMED SOURCE CODE TO THE ORIGINAL SOURCE CODE BY METADATA

LINKING THE TRANSFORMED SOURCE CODE TO THE ORIGINAL SOURCE CODE BY METADATA

机译:通过METADATA将转换后的源代码链接到原始源代码

摘要

Systems, apparatuses, and methods for converting computer program source code from a first high level language to a functionally equivalent second high level language different from the first high level language. Source code in a first high level language that includes a plurality of name spaces is analyzed by a code conversion tool. A data structure representing the source code in the first language is generated that includes at least an identification of each symbol used within the source code in the first language. An identifier is generated for each of the identified symbols, wherein the identifier is globally unique within an entire codebase of the source code in the first high level language. Source code in the second high level programming language is generated that is functionally equivalent to the source code in the first high level programming language. Metadata is also generated that maps symbols corresponding to a semantic entity in the source code of the second high level language to symbols corresponding to a semantic entity definition in the source code of the first high level language.
机译:用于将计算机程序源代码从第一高级语言转换成与第一高级语言不同的功能等效的第二高级语言的系统,装置和方法。通过代码转换工具分析包括多个名称空间的第一高级语言的源代码。生成表示第一语言的源代码的数据结构,该数据结构至少包括第一语言的源代码内使用的每个符号的标识。为每个识别出的符号生成标识符,其中该标识符在第一高级语言的源代码的整个代码库中是全局唯一的。生成第二高级编程语言中的源代码,该源代码在功能上等效于第一高级编程语言中的源代码。还生成元数据,该元数据将与第二高级语言的源代码中的语义实体相对应的符号映射到与第一高级语言的源代码中的语义实体定义相对应的符号。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号