Method and apparatus for generating platform-standard object files containing machine-independent code
Abstract
A method and apparatus for generating a platform-standard object file containing machine-independent abstract code. Source code which defines a procedure is convened into abstract code which makes no assumptions about the platform on which the procedure will be executed. An abstract code platform-standard object file is generated based on the abstract code. The abstract code platform-standard object file includes a list of definitions of any global variables defined in the abstract code, a list of symbol references indicative of any external variables or external procedures referenced in the abstract code, a sequence of machine instructions for calling an execution routine when a client calls the procedure, and the abstract code which defines the procedure. The abstract code is preferably compressed before it is stored in the abstract code platform-standard object file. When a program including the abstract code platform-standard object file is executed, it is dynamically linked to the execution routine. When the procedure is called, the execution routine is invoked. The execution routine executes the procedure by interpreting the abstract code or generating machine-code responsive
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 127.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for generating a platform-standard object file, the method comprising the steps of: a) providing a machine-independent software module, wherein the machine-independent software module contains abstract code defining at least one procedure; b) analyzing said abstract code to determine whether any global variables are defined in said machine-independent software module; c) if any global variables are defined in said machine-independent software module, then c1) generating a list of definitions of said any global variables; c2) storing said list of definitions in said platform-stan
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 127 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (5)
- A. Padawer, Microsoft P Code Technology, (CD ROM) Microsoft Developer Network Development Library No. 8, (Jul. 1994), pp. 1 7 and 1 10.
- A. Padawer, Microsoft P-Code Technology, (CD-ROM) Microsoft Developer Network Development Library No. 8, (Jul. 1994), pp. 1-7 and 1-10.
- Advertisement for Eiffel Bench, by Interactive Software Engineering Inc.
- G. Krasner, The Smalltalk 80 Virtual Machine, (Byte Publications, Inc., Aug. 1981), pp. 300 320.
- G. Krasner, The Smalltalk -80 Virtual Machine, (Byte Publications, Inc., Aug. 1981), pp. 300-320.