Interpreter generation and implementation utilizing interpreter states and register caching
Abstract
Systems and methods for increasing the execution speed of interpreted programs which utilize an operand stack are provided. The value for the top of the operand stack is stored in one or more registers. A state of the interpreter indicates the data type of the value for the top of the operand stack stored in the one or more registers. An interpreter may be generated that is both fast and efficient in terms of the memory required for the interpreter.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 14.
Claims (2 — 2 Independent, 0 Dependent)
- Claim 1Independent Claim
In a computer system including a plurality of registers, a method for implementing an interpreter including an operand stack having a top, the method comprising: storing a value for the top of the operand stack in at least one register of the plurality of registers; and utilizing a state of the interpreter to indicate a data type of the value for the top of the operand stack that is stored in the at least one register; wherein the data type is selected from a group that includes at least integer and void data types, wherein the void data type indicates that the value for the top of the operand
- Claim 2Independent Claim
The method of
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (14 of 14 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (2)
- Ertl, M., Stack Caching for Interpreters, 1994, p3-12.
- Ertl, M., Stack Caching for Interpreters, 1995, p.315-327.