Method and apparatus for generating inline code using template metaprograms

Number of patents in Portfolio can not be more than 2000

United States of America Patent

PATENT NO 5835771
SERIAL NO

08487593

Stats

ATTORNEY / AGENT: (SPONSORED)

Importance

Loading Importance Indicators... loading....

Abstract

See full text

The present invention provides the capability to generate customized, inlined code or expression objects using template metaprograms. The code or expression object is created at compile time using template parameters, if specified. At compile time, these parameters are used to determine the customized, inline code that is generated by the compiler. A general algorithm is used to convert algorithms into inline pieces of code. An algorithm, or program code segment, is selected for customization. A grammar is written to define the algorithm. A grammar is comprised of a set of production rules. Production rules contain symbols of the grammar. A symbol can be a terminal or non-terminal symbol. A production rule further includes parameters that can be used to further customize an instantiation of a template metaprogram. The algorithm is expressed using the production rules that comprise the grammar. Each production rule is translated into a template class or a specialization. A template metaprogram can further comprise template parameters. At compile time, the compiler uses the template metaprogram reference including template parameters specified to generate code. The template metaprogram that is referenced by the program code is used as a blueprint for the code that is generated by the compiler. The code generated by the compiler is customized, inlined code. Further, the process for creating and generating customized, inlined code provides for the creation and manipulation of objects that encapsulate expressions. Customized, inlined code can replace less efficient code thereby achieving increased run time efficiency. Code generation is done using the end user's compiler.

Loading the Abstract Image... loading....

First Claim

See full text

Family

Loading Family data... loading....

Patent Owner(s)

Patent OwnerAddress
ROGUE WAVE SOFTWARE INC1315 WEST CENTURY DRIVE SUITE 150 LOUISVILLE CO 80027

International Classification(s)

  • [Classification Symbol]
  • [Patents Count]

Inventor(s)

Inventor Name Address # of filed Patents Total Citations
Veldhuizen, Todd Kitchener, CA 1 47

Cited Art Landscape

Load Citation

Patent Citation Ranking

Forward Cite Landscape

Load Citation