Claims Analysis
Total Claims: 12
Claim 1
Independent Claim
188 words
Code generation apparatus used in a computer system to generate machine-executable instructions, the code generation apparatus including at least a text written in a programming language, the text including a definition of a function, and means for generating the machine-executable instructions from the text, the code generation apparatus having the improvement comprising: in the text, a name which has global scope in the text and specifies a value which is separately instantiated for each execution of the function and a use specification which specifies how the name is used in an execution of the function; and in the means for generating the machine-executable instructions, means responsive to the name for making a definition thereof which indicates that the name has global scope and specifies a value which is separately instantiated for each execution of the function; and means responsive to the definition and to the use specification for generating the machine-executable instructions for the function such that when the function is executed, a separate instance of the value represented by the name is created and that instance is used in the execution as specified by the use specification.
Claim 2
Dependent Claim
188 words
Code generation apparatus used in a computer system to generate machine-executable instructions, the code generation apparatus including at least a text written in a programming language, the text including a definition of a function, and means for generating the machine-executable instructions from the text, the code generation apparatus having the improvement comprising: in the text, a name which has global scope in the text and specifies a value which is separately instantiated for each execution of the function and a use specification which specifies how the name is used in an execution of the function; and in the means for generating the machine-executable instructions, means responsive to the name for making a definition thereof which indicates that the name has global scope and specifies a value which is separately instantiated for each execution of the function; and means responsive to the definition and to the use specification for generating the machine-executable instructions for the function such that when the function is executed, a separate instance of the value represented by the name is created and that instance is used in the execution as specified by the use specification.
Claim 3
Dependent Claim
24 words
The apparatus set forth in claim 1 wherein: the instructions are callback code; and the name represents an actual argument for the callback code.
Claim 4
Dependent Claim
57 words
The apparatus set forth in claim 2 wherein: there is a plurality of callback codes which are specified in a list thereof; and there is an operation for adding a callback code to the list thereof; and the use specification is part of a specification of the operation for adding the callback code to the list thereof.
Claim 5
Independent Claim
21 words
The apparatus set forth in any of claims 1, 2, or 3 wherein: the means for generating instructions is a compiler.
Claim 6
Independent Claim
21 words
The apparatus set forth in any of claims 1, 2, or 3 wherein: the means for generating instructions is an interpreter.
Claim 7
Independent Claim
163 words
A method used in a computer system to generate machine-executable instructions from a text, the text being written in a programming language, defining at least a function, and including a name which has global scope in the text and specifies a value which is separately instantiated for each execution of the function and a use specification which specifies how the name is used in an execution of the function and the method comprising the steps performed in the computer system of: responding to the name by making a definition thereof which indicates that the name has global scope and specifies a value which is separately instantiated for each execution of the function; and responding to the definition and to the use specification by generating the machine-executable instructions for the function such that when the function is executed, a separate instance of the value represented by the name is created and that instance is used in the execution as specified by the use specification.
Claim 8
Independent Claim
163 words
A method used in a computer system to generate machine-executable instructions from a text, the text being written in a programming language, defining at least a function, and including a name which has global scope in the text and specifies a value which is separately instantiated for each execution of the function and a use specification which specifies how the name is used in an execution of the function and the method comprising the steps performed in the computer system of: responding to the name by making a definition thereof which indicates that the name has global scope and specifies a value which is separately instantiated for each execution of the function; and responding to the definition and to the use specification by generating the machine-executable instructions for the function such that when the function is executed, a separate instance of the value represented by the name is created and that instance is used in the execution as specified by the use specification.
Claim 9
Dependent Claim
38 words
The method set forth in claim 6 wherein: the instructions are callback code; and the step of making a use specification specifies how the name is to be used to represent an actual argument for the callback code.
Claim 10
Dependent Claim
61 words
The method set forth in claim 7 wherein: there is a plurality of callback codes which are specified in a list thereof; and there is operation for adding a callback code to the list thereof; and the step of specifying a use is done as part of a specification of the operation for adding the callback code to the list thereof.
Claim 11
Independent Claim
20 words
The method set forth in any of claims 6, 7, or 8 wherein: the method is practiced in a compiler.
Claim 12
Independent Claim
20 words
The apparatus set forth in any of claims 6, 7 or 8 wherein: the method is practiced in an interpreter.