Patents
US 8,954,940 B2#42182905 Most CitedActiveUnited States (USPTO)Utility

Integrating preprocessor behavior into parsing

2Forward Citations (#42182905 Global)
0.2/yrCitation Velocity (#35723954 Global)
0.96Citation PageRank (#44328510 Global)
16Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method, computer program product, and system is described. Software code text associated with a software code editor and including one or more preprocessor statements is identified. The software code text is translated into a preprocessor output using one or more preprocessors associated with the software code text. One or more transformations of the one or more preprocessor statements is identified based upon comparing the preprocessor output with the software code text. One or more locations in the software code text associated with the one or more transformations is identified based upon comparing the preprocessor output with the software code text. The software code text is parsed, based upon lexing the software code text to generate an integrated token stream model including a first token stream representing the software code text and one or more other token streams representing the one or more transformations of the software code text.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method comprising: identifying, by one or more computing devices, software code text, wherein the software code text includes one or more preprocessor statements; translating, by the one or more computing devices, the software code text including the one or more preprocessor statements into a preprocessor output using, at least in part, one or more preprocessors associated with the software code text, the preprocessor output including one or more transformations of the one or more preprocessor statements into a set of expressions that represent intended functionality of

Technical Overview & Description

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

Cited By — Indexed Forward Citations (2 of 2 total)

Non-Patent Literature (1)

  • Liebig et al., "Analyzing the discipline of Preprocessor Annotations in 30 Million Lines of C Code," AOSD 2011, Mar. 21-25, 2011; pp. 191-202.