Attempting runtime retranslation of unresolvable code
Abstract
A compiler that completes compilation upon identifying unresolvable input during compilation instead of aborting compilation. This can be accomplished by inserting an exception-throwing instruction, and/or handlers in place of the unresolvable input in the compiled code output. If the section of the compiled code containing the inserted exception throwing instruction is later executed, an exception is thrown and/or handled. Compilation of code from a trusted source can be completed without inserting an exception throwing instruction when the code has only suspected but unverifiable problems.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 26 · Forward citations: 17.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of executing computer program code, the method comprising: executing program code received in an input stream, the program code comprising translated code, untranslated code, and placed code, wherein the translated code comprises portions of the computer program translated from a first language representation into a second language representation, wherein the untranslated code comprises one or more unresolvable instructions that could not be translated from the first language representation into the second language representation during a first translation attempt, wherein the placed
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 17 total)
References Cited — Backward Prior Art (26)
Non-Patent Literature (5)
- "Programmer's Journal", vol. 9.3, May/Jun. 1991.
- Aho, A.V., Sethi, R., Ullman, J.D., "Compilers, Principles, Techniques and Tools", Chapter 1, pp. 1-24, Bell telephone Laboratories, Inc., Mar. 1998.
- Aho, A.V., Ullman, J.D., "Principles of Compiler Design", Chapter 11, pp. 382-405, Bell Telephone Laboratories, Inc., Third Printing, Apr. 1979.
- Book entitled Compiler Design authored by Reinhard Wilhelm and Dieter Maurer and published by Addison-Wesley Publishing Company in 1995. Chapter 6 entitled The Structure of Compilers, pp. 221-233.
- Book entitled Compiler Design authored by Reinhard Wilhelm and Dieter Maurer and published by Addison-Wesley Publishing Company in 1995. Chapter 7 entitled Lexical Analysis, pp. 235-263.