Intermediate representation for multiple exception handling models
Abstract
As described herein, an intermediate representation of a source code file may be used to explicitly express exception handling control flow prior to generating object code for the source code. As further described herein, a single uniform set of instructions of the intermediate representation may be used for expressing multiple different exception handling mechanisms related to multiple different programming languages. The intermediate form of the exception handling instructions may be generated by translating an intermediate language representation of the source code file. Representations of the source code in multiple different intermediate languages may be translated to a single uniform set of instructions of the intermediate representation. The intermediate form of the exception handling instructions may then be used by software development tools for such tasks as code generation, code optimization, code analysis etc. Thus, the same methods for code optimizations, analysis and generation may be used for intermediate representations of multiple different languages.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 22.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method implemented at least in part by a computing device of processing a source language independent intermediate representation of software comprising exception handling constructs, the method comprising: reading the source language independent intermediate representation of software comprising exception handling constructs; wherein the source language independent intermediate representation explicitly expresses exception handling control flow of the software, wherein the source language independent intermediate representation comprises a single set of instructions for representing a plura
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 22 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- "1.3 Compiler Architecture" http://lambda.uta.edu/cse5317/notes/node5.html visited on May 20, 2003; pp. 1-2.
- "A Parallelizing Compiler Framework" http://www.csrd.uiuc.edu/promis/home.html visited on Jun. 4, 2003; pp. 1-2.
- "Attribute-Based Templates for Microsoft .NET", 2001, newtelligence AG, 7 pages.
- "C/C++ Language Reference: try-except Statement," May 11, 2000, Microsoft Corp., accessed Jul. 10, 2005 at <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccelng/htm/key<SUB>-</SUB>s-z<SUB>-</SUB>4.asp>, 2 pages.
- "CIL: Infrastructure for C Program Analysis and Transformation"; May 30, 2003; pp. 1-54.