Patents
US 6,925,635 B2#11811670 Most CitedExpiredUnited States (USPTO)Utility

Embedded pre-processor with dynamic macro forms

9Forward Citations (#11811670 Global)
0.4/yrCitation Velocity (#18683404 Global)
1.94Citation PageRank (#15310265 Global)
4Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

Abstract

An embedded pre-processor having dynamic macro types is disclosed. After a lexer receives an identifier token from source code, the lexer compares the identifier token with the macro names stored in the symbol table. If the identifier token matches a macro name stored in the symbol table, the lexer replaces the identifier token with a macro form token. The lexer then sends the macro form token to a glue routine. The glue routine invokes a macro invocation parser. The lexer continues to transfer tokens to the macro invocation parser via the glue routine until the completion of the macro invocation. The macro invocation parser subsequently sends a macro body definition of the macro to the lexer.

Interactive Citation Constellation Global Citation Ranking

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

Claims (3 — 1 Independent, 2 Dependent)

  1. Claim 1Independent Claim

    A method for processing macros of varying grammatical invocation by a pre-processor having a lexer, a glue routine, a macro invocation parser and a parser, said method comprising: receiving an identifier token from source code; in response to said received identifier token matching a macro stored in a symbol table: replacing said identifier token with a corresponding macro form token; sending said macro form token to said glue routine; invoking said macro invocation parser by said glue routine; continuously receiving tokens by said macros invocation parser via said glue routine until a complet

  2. Claim 2Depends on #1

    The method of claim 1 , wherein said receiving step is performed by a lexer.

  3. Claim 3Depends on #1

    The method of claim 1 , wherein sa

Technical Overview & Description

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

Non-Patent Literature (1)

  • Assembler Compiler Facility for Integrated User Written Preprocessor, IBM Technical Disclosure Bulletin, Jan. 1974, pp. 2614-2615.