首页>
外国专利>
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.
展开▼