Claims Analysis
Total Claims: 17
Claim 1
Independent Claim
121 words
A template creation method for generating program code in a computer system comprising the steps of: identifying one or more steps to be performed in said program code; defining a grammar to represent said one or more steps; defining a template using said grammar, said template including a plurality of template parameters; replacing said one or more steps with a reference to said template in said program code, said reference including values for said template parameters; creating replacement code for said one or more steps in said program code at compile time, said replacement code based on said template parameter values and created using said template and said template parameter values; replacing said reference with said replacement code at compile time.
Claim 2
Dependent Claim
121 words
A template creation method for generating program code in a computer system comprising the steps of: identifying one or more steps to be performed in said program code; defining a grammar to represent said one or more steps; defining a template using said grammar, said template including a plurality of template parameters; replacing said one or more steps with a reference to said template in said program code, said reference including values for said template parameters; creating replacement code for said one or more steps in said program code at compile time, said replacement code based on said template parameter values and created using said template and said template parameter values; replacing said reference with said replacement code at compile time.
Claim 3
Dependent Claim
12 words
The method of claim 1 wherein said compiler is a C++ compiler.
Claim 4
Dependent Claim
18 words
The method of claim 1 wherein said grammar is comprised of a plurality of terminal and non-terminal symbols.
Claim 5
Dependent Claim
19 words
The method of claim 3 wherein each non-terminal symbol is defined using a plurality of terminal and non-terminal symbols.
Claim 6
Dependent Claim
15 words
The method of claim 3 wherein each terminal symbol is defined using programming language constructs.
Claim 7
Dependent Claim
12 words
The method of claim 1 wherein said template defines a template class.
Claim 8
Dependent Claim
11 words
The method of claim 1 wherein said template defines a specialization.
Claim 9
Dependent Claim
23 words
The method of claim 1 wherein said one or more steps is an n-repetition loop that repeats a block of statements n times.
Claim 10
Dependent Claim
29 words
The method of claim 8 wherein said replacement code comprises n versions of said block of statements, each of said n versions executes one iteration of said n-repetition loop.
Claim 11
Independent Claim
134 words
A method for generating optimized expression objects comprising the steps of: identifying one or more steps to be performed in said program code; defining a grammar to represent said one or more steps; defining a template using said grammar, said template including a plurality of template parameters; replacing said one or more steps with a reference to said template in said program code, said reference including values for said template parameters, one of said template parameters being an expression; parsing said expression; inferring an expression type for said expression; creating replacement code for said one or more steps in said program code at compile time, said replacement code based on said template parameter values and created using said template and said template parameter values; replacing said reference with said replacement code at compile time.
Claim 12
Independent Claim
134 words
A method for generating optimized expression objects comprising the steps of: identifying one or more steps to be performed in said program code; defining a grammar to represent said one or more steps; defining a template using said grammar, said template including a plurality of template parameters; replacing said one or more steps with a reference to said template in said program code, said reference including values for said template parameters, one of said template parameters being an expression; parsing said expression; inferring an expression type for said expression; creating replacement code for said one or more steps in said program code at compile time, said replacement code based on said template parameter values and created using said template and said template parameter values; replacing said reference with said replacement code at compile time.
Claim 13
Dependent Claim
20 words
The method of claim 10 further including the step of instantiating an expression object for said expression at run time.
Claim 14
Dependent Claim
11 words
The method of claim 11 wherein said expression object includes code.
Claim 15
Dependent Claim
15 words
The method of claim 11 wherein said replacement code uses said expression object at runtime.
Claim 16
Dependent Claim
13 words
The method of claim 10 wherein said replacement code includes said expression type.
Claim 17
Dependent Claim
17 words
The method of claim 10 wherein said template parameters includes a template parameter for said expression type.