Representing type information in a compiler and programming tools framework
Abstract
A representation of types, type-checker, method and compiler are provided for checking consistency in various forms of an intermediate language. Specifically, the typed intermediate language is suitable for use in representing programs written in multiple (heterogeneous) source languages including typed and untyped languages, loosely and strongly typed languages, and languages with and without garbage collection. Additionally, the type checker architecture is extensible to handle new languages with different types and primitive operations. The representation of types can be implemented as a data structure that represents two or more sets of types with one or more sub-structures for representing classifications of types. Alternatively, the type system can be implemented as a base class at the top of a hierarchy and a plurality of classes hierarchically below the base class can be defined to represent a number of types such as pointer types, container types, and function types.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 13.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method, implemented at least in part by a computing device comprising a processing unit and memory, of representing type information for a typed intermediate language via objects of classes in a class hierarchy, wherein the class hierarchy comprises at least one class and a plurality of sub-classes for representing different type classifications, the method comprising: with the computing device: instantiating one or more objects of one or more of the sub-classes of the hierarchy, wherein the one or more sub-classes represent classifications of types for the typed intermediate language; and s
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (13 of 13 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- "1.3 Compiler Architecture" http://lambda.uta.edu/cse5317/notes/node5.htm1 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.
- "An abstract intermediate representation in compilation systems", Guilan et al., Feb. 2003, pp. 12-18, .
- "An abstract intermediate representation in compilation systems", Guilan et al., Feb. 2003, pp. 12-18, <http://delivery.acm.org/10.1145/780000/772972/p12-guilan.pdf>.
- "Attribute-Based Templates for Microsoft .NET", 2001, newtelligence AG, 7 pages.