PARSING OF DECLARATIONS IN ALL BRANCHES OF PREPROCESSOR CONDITIONALS

Patent №

US 8,099,721

Granted

2012-01-17

Filed 2008

Owner

MICROSOFT CORPORATION

AI components

2

nlp · hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

12140267

Declarations from an input source code or tokenized source code are serialized into a stream of tokens produced by following each branch of a preprocessor conditional directive statement that interrupts a declaration. Tokens are labeled with a parsing path indicator corresponding to a parsing path induced by branches of a preprocessor conditional directive. The declarations that are formed along the different parsing paths are serialized by fetching the tokens that belong to the first parsing path in a first pass, and passing the tokens on to a next phase of a compiler. The pointer that marks the next token is repositioned to return to the start of the declaration. The declaration may be serialized again through the second parsing path in a second pass. The operation may be repeated until each of the parsing paths induced by the presence of branches of the preprocessor conditional directives in the source code is exhausted.

AI classification

Natural language0.98
AI hardware0.96
Knowledge representation0.05
Machine learning0.00
Speech0.00
Evolutionary computation0.00
Vision0.00
Planning0.00

Ownership

MICROSOFT CORPORATION

assignment · 214120664

Assignors

MICELI, THIERRY

On an employer assignment, the assignors are typically the inventors.

© 2026 NYSGPT2525 LLC