首页> 外国专利> COMPILING METHOD FOR GLOBAL VARIABLE PROCESSING IN INTERPRETER TYPE LANGUAGE PROCESSING SYSTEM

COMPILING METHOD FOR GLOBAL VARIABLE PROCESSING IN INTERPRETER TYPE LANGUAGE PROCESSING SYSTEM

机译:解释器类型语言处理系统中全局变量处理的编译方法

摘要

PURPOSE:To increase the execution speed of a compiled object by performing the processing, which interprets a specification statement to reserve a variable area of a global variable in accordance with the type and the size of the variable, and the processing, which sets the address of the reserved variable area to program areas where the global variable is referred and updated, at the time of area reserving processing. CONSTITUTION:An area reserving processing 11, an address setting processing 121 in a compile load processing 12, and a global variable flag setting processing 13 are provided. The area reserving processing 11 reserves a global variable area in accordance with a global variable declaration 21 included in a program area 2 and stores its address. A compiled object 322 where the address of a processing object (the address in a global variable area 321) is reserved for the global variable in a program 22 is generated based on the stored address. Thereafter, a change inhibition flag of the global variable name as the object in global variable name table 31 is set to inhibition by the global variable flag setting processing 13. Thus, the execution speed of the compiled object of the program is increased.
机译:目的:通过执行处理来提高编译对象的执行速度,该处理将解释说明语句以根据变量的类型和大小保留全局变量的变量区域,并执行设置地址的处理在区域保留处理时,将保留的变量区域的大小更改为引用和更新全局变量的程序区域。构成:提供了区域保留处理11,编译加载处理12中的地址设置处理121和全局变量标志设置处理13。区域保留处理11根据程序区域2中包括的全局变量声明21来保留全局变量区域并存储其地址。基于存储的地址,生成为处理程序22中的全局变量保留处理对象的地址(全局变量区域321中的地址)的编译对象322。此后,通过全局变量标志设置处理13将作为全局变量名称表31中的对象的全局变量名称的改变禁止标志设置为禁止。因此,提高了程序的编译对象的执行速度。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号