首页> 外国专利> METHOD FOR CONVERTING SOURCE CODE WRITTEN IN DYNAMIC TYPING LANGUAGE INTO TARGET CODE WRITTEN IN STATIC TYPING LANGUAGE AND EXECUTING THE SAME, AND COMPUTER PROGRAM AND COMPUTER SYSTEM FOR THE METHOD

METHOD FOR CONVERTING SOURCE CODE WRITTEN IN DYNAMIC TYPING LANGUAGE INTO TARGET CODE WRITTEN IN STATIC TYPING LANGUAGE AND EXECUTING THE SAME, AND COMPUTER PROGRAM AND COMPUTER SYSTEM FOR THE METHOD

机译:将以动态打字语言编写的源代码转换为以静态打字语言编写的目标代码并执行相同的目标代码的方法,计算机程序和计算机系统

摘要

PROBLEM TO BE SOLVED: To provide a method for converting a source code written in a dynamic typing language into a target code written in a static typing language.;SOLUTION: The method includes the step of generating a target code from a source code in a storage device and including a step of storing in a buffer a signature of a function/method to be used for a caller in the source code. In this step, generation of an interface class is delayed to a time point immediately before execution of a part of the target code corresponding to the function/method call by the caller, the interface class being needed to generate the caller and serving as an interface in the static typing language. The method also includes the step of generating in the storage device a consolidated interface class for all signatures stored in the buffer, and loading the generated consolidated interface class from the storage device. In this step, all the signatures in the buffer are deleted upon generation of the consolidated interface class.;COPYRIGHT: (C)2011,JPO&INPIT
机译:解决的问题:提供一种方法,用于将以动态类型语言编写的源代码转换为以静态类型语言编写的目标代码。存储设备,包括在缓冲区中存储要在源代码中用于调用方的功能/方法的签名的步骤。在该步骤中,接口类的生成被延迟到紧接在由调用者执行与功能/方法调用相对应的目标代码的一部分之前的时间点,该接口类是生成调用者所需要的并且用作接口以静态键入语言。该方法还包括以下步骤:在存储设备中为存储在缓冲器中的所有签名生成合并接口类,并从存储设备加载所生成的合并接口类。在此步骤中,在生成合并接口类时,将删除缓冲区中的所有签名。; COPYRIGHT:(C)2011,JPO&INPIT

著录项

  • 公开/公告号JP2011113394A

    专利类型

  • 公开/公告日2011-06-09

    原文格式PDF

  • 申请/专利权人 INTERNATL BUSINESS MACH CORP IBM;

    申请/专利号JP20090270506

  • 发明设计人 TACHIBORI MICHIAKI;

    申请日2009-11-27

  • 分类号G06F9/45;G06F9/54;

  • 国家 JP

  • 入库时间 2022-08-21 18:21:41

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号