Patent · US Active

Configuration-preserving preprocessor

US9542162B2 · kind B2 · utility

3Cited by
5References
20Claims
0Family size

Assignee

Inventors

Key dates

Filing dateJul 6, 2016
Grant dateJan 10, 2017
Priority date
Expiry dateJul 6, 2036

Classification

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

Abstract

Methods, systems, and apparatuses, including computer programs encoded on computer readable media, for generating a plurality of tokens from one or more source files. The one or more source files include source code in a first programming language. The source code includes one or more static conditionals that include a conditional expression and branch code that is operative when the conditional expression is true. Various configurations are possible based upon the conditionals. A first static conditional that includes one or more nested static conditionals within the branch code associated with the first static conditional is determined. Each of the one or more nested static conditionals is hoisted to a beginning of the branch code associated with the first static conditional. Each innermost branch code does not contain a static conditional, and each possible configuration is preserved.

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