Patent · US Active

Contract programming for code error reduction

US8250524B2 · kind B2 · utility

8Cited by
19References
14Claims
0Family size

Assignee

Inventors

Key dates

Filing dateDec 21, 2007
Grant dateAug 21, 2012
Priority date
Expiry dateDec 1, 2030

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F8/51
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

In one embodiment, a computer system provides an application programming interface (API) for augmenting an application API. A computer system receives software code written in a second programming language indicating a user's intention to augment an application API with contracts from a contract API written in a first programming language. The software code includes a reference to the contract API. The contracts include assertions indicating appropriate use of the application API. The computer system accesses portions of the contract API according to the reference in the software code and compiles the received software code and the referenced portions of the contract API into an intermediate language (IL) version of the software code. The IL version is in an intermediate language common to both the first programming language and the second programming language. The IL version includes the assertions indicating appropriate use of the application API.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.