Patents
US 7,086,041 B2#1086710 Most CitedExpiredUnited States (USPTO)Utility

Extensible type system for representing and checking consistency of program components during the process of compilation

46Forward Citations (#1086710 Global)
2.3/yrCitation Velocity (#1556416 Global)
7.19Citation PageRank (#1831821 Global)
44Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

Abstract

A representation of types, type-checker, and compiler are provided for checking consistency in various forms of an intermediate language. Type-checking a programming language in a compiler is accomplished by taking one or more rule sets as input to a type-checker, which selects one or more of the rule sets based upon any one, or combination of two or more, of numerous criteria. Among them are stage of compilation, source language, architecture, and level of typing present in the language being type-checked. The language is then type-checked using the selected one or more rule sets. The rule sets can include one rule set corresponding to strong type-checking, one rule set corresponding to weak type-checking, and one rule set corresponding to representation type-checking. In the alternative, a compiler can be provided with a type-checker that constructs the one or more sets of rules at runtime from a larger set of rules based on any one, or combination of two or more, of the previously mentioned criteria.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 44 · Forward citations: 46.

Claims (3 — 1 Independent, 2 Dependent)

  1. Claim 1Independent Claim

    A method of type-checking a programming language in a compiler according to one or more rule sets comprising: selecting one or more of the rule sets based upon the present stage of compilation; and type-checking the programming language based on the selected one or more rule sets; wherein the one or more rule sets comprise one rule set corresponding to strong type-checking, one corresponding to weak type-checking, and one corresponding to representation type-checking.

  2. Claim 2Depends on #1

    The method of claim 1 wherein type-checking the programming language comprises type-checking each of a plurality of intermediate representations of the programming language.

  3. Claim 3Depends on #2

    The method of claim 2 wherein the selected one or more rule sets are different for each representation.

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (44)

PatentTitleYearCitations
US 5,488,727 AMethods to support multimethod function overloading with compile-time type checking199673
US 5,598,560 ATracking condition codes in translation code for different machine architectures1997175
US 5,628,016 ASystems and methods and implementing exception handling using exception registration records stored in stack memory1997260
US 5,696,974 AMethods to support multimethod function overloading with compile-time type checking199798
US 5,742,828 ACompiler and method for evaluation of foreign syntax expressions in source code199875
US 5,768,595 ASystem and method for recompiling computer programs for enhanced optimization199857
US 5,857,105 ACompiler for reducing number of indirect calls in an executable code199950
US 5,918,235 AObject surrogate with active computation and probablistic counter199937
US 5,937,195 AGlobal control flow treatment of predicated code1999113
US 5,943,499 ASystem and method for solving general global data flow predicated code problems199938
US 5,966,702 AMethod and apparatus for pre-processing and packaging class files1999254
US 5,999,739 AMethod and apparatus for elimination of redundant branch instructions from a program199931
US 6,009,273 AMethod for conversion of a variable argument routine to a fixed argument routine199927
US 6,070,011 ACompiler for performing a loop fusion, dependent upon loop peeling and/or loop reversal200045
US 6,148,302 AMethod, apparatus, system and computer program product for initializing a data structure at its first active use200031

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 Paralellizing 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/enus/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.