Semantic script language processing
AssigneeAutodesk, Inc.
InventorClayton P. Hotson
Life of this patent
Estimating the term…
Abstract
A method and system provide the ability to process source computer instructions. The source computer instructions are obtained and include input statements that consist of two functions that consume one or more arguments. A legal configuration of the functions and arguments is determined. A first function can be evaluated to yield a non-variable value, and a second function cannot be evaluated to yield a non-variable value. The input statements are compiled into executable code using the determined legal configuration such that during compilation, the first function is executed, and instructions are emitted to execute the second function at an indeterminate time.
Claims20
A computer-implemented method for processing source computer instructions, comprising:
- (a) obtaining the source computer instructions comprising natural language words that represent one or more input statements, wherein:
- (1) a first input statement of the one or more input statements comprises two functions;
- and
- (2) the first input statement comprises one or more arguments that are consumed by the two functions;
- (b) for the first input statement, determining a legal configuration of the two functions and the one or more arguments
- (c) determining that a first function of the two functions can be evaluated to yield a non-variable value;
- (d) determining that a second function of the two functions cannot be evaluated to yield a non-variable value;
- (e) compiling the first input statement into executable code using the determined legal configuration, wherein during the compiling:
- (1) the first function is executed;
- and
- (2) instructions are emitted to execute the second function at an indeterminate time.
A computer-implemented system for processing source computer instructions, comprising:
- (a) a computer having a memory;
- (b) a processor executing on the computer;
- (c) the memory storing a set of instructions, wherein the set of instructions, when executed by the processor cause the processor to perform operations comprising:
- (1) obtaining the source computer instructions comprising natural language words that represent one or more input statements, wherein:
- (i) a first input statement of the one or more input statements comprises two functions;
- and
- (ii) the first input statement comprises one or more arguments that are consumed by the two functions;
- (2) for each of the one or more input statements, determining a legal configuration of the two functions and the one or more arguments,
- (3) determining that a first function of the two functions can be evaluated to yield a non-variable value;
- (4) determining that a second function of the two functions cannot be evaluated to yield a non-variable value;
- (5) compiling the first input statement into executable code using the determined legal configuration, wherein during the compiling:
- (i) the first function is executed;
- and
- (ii) instructions are emitted to execute the second function at an indeterminate time.
Dependencies are inferred from the claim text.