发明名称 METHOD AND APPARATUS FOR RESOLUTION OF REFERENCE
摘要 <p>PURPOSE: To provide a hybrid compiler interpreter having the gains of both a compiler and an interpreter. CONSTITUTION: This device is provided with a compiler 42 for 'compiling' a source program code 52, and an interpreter which interprets the 'compiled' code. The compiler 42 generates a code in an intermediate form for operating data reference by symbol reference. On the other hand, in the interpreter, when a dynamic field reference routine is called, the symbol reference is rewritten to numeric value reference, and program execution is returned to a main interpretation routine without being advanced to the next instruction so that the rewritten instruction having the numeric value reference can be re-executed. When a static field reference routine is called, data for the program are obtained from a data object based on the numeric value reference, and the program execution is advanced to the next instruction before returned to the main interpretation routine. The main interpretation routine selectively calls two data reference dealing routine.</p>
申请公布号 JPH06230976(A) 申请公布日期 1994.08.19
申请号 JP19930339905 申请日期 1993.12.07
申请人 SUN MICROSYST INC 发明人 JIEIMUZU GOSURIN
分类号 G06F9/445;G06F9/45;(IPC1-7):G06F9/45 主分类号 G06F9/445
代理机构 代理人
主权项
地址