Model and subsystem function signatures
First Claim
1. A method for previewing executable code in an automatic code generator, comprising:
- a) providing a unit of a hierarchical model on a first graphical user interface (GUI);
b) receiving as input from a user an initial function signature for the unit of the hierarchical model on a preview GUI;
c) automatically generating a function from the unit and the initial function signature;
d) dynamically displaying the initial function signature and the generated function to the user on the preview GUI;
e) receiving a modified function signature for the unit from the user on the preview GUI;
f) automatically generating an updated function from the unit and the modified function signature;
g) dynamically displaying the modified function signature and updated function to the user on the preview GUI; and
h) automatically generating code for the unit of the hierarchical model from the updated function, the code for the unit of the hierarchical model comprising the updated function corresponding to the unit of the hierarchical model and the modified function signature.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method enable a user to specify function signatures for automated code generators to generate code based on a model representation. The method for automatically generating a function based on the model representation includes providing at least a portion of the model representation. A function signature is received for the model representation. The function signature is generated by a user. The function is generated based on the model representation and the function signature. A user interface can be provided to enable the user to enter the function signature and also to present a preview of a function that results from the function signature as modifications are made to the function signature. The user can enter the function signature using regular expressions, if desired.
-
Citations
21 Claims
-
1. A method for previewing executable code in an automatic code generator, comprising:
-
a) providing a unit of a hierarchical model on a first graphical user interface (GUI); b) receiving as input from a user an initial function signature for the unit of the hierarchical model on a preview GUI; c) automatically generating a function from the unit and the initial function signature; d) dynamically displaying the initial function signature and the generated function to the user on the preview GUI; e) receiving a modified function signature for the unit from the user on the preview GUI; f) automatically generating an updated function from the unit and the modified function signature; g) dynamically displaying the modified function signature and updated function to the user on the preview GUI; and h) automatically generating code for the unit of the hierarchical model from the updated function, the code for the unit of the hierarchical model comprising the updated function corresponding to the unit of the hierarchical model and the modified function signature. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. An automatic code generation system to generate code from a hierarchical model, comprising:
-
an input device to receive as input from a user a proposed function signature for a unit of a hierarchical model provided on a first graphical user interface (GUI); a preview device to operate on the unit of the hierarchical model and the proposed function signature provided by the user to automatically produce a function; an output device to dynamically display the function and the proposed function signature to the user on a preview GUI; the input device to receive a modified function signature for the unit from the user on the preview GUI; the preview device to automatically generate an updated function from the unit and the modified function signature; the output device to dynamically display the modified function signature and updated function to the user on the preview GUI; and an automatic code generator to automatically generate code for the unit of the hierarchical model from the updated function upon receiving approval of the updated function from the user, the code for the unit of the hierarchical model comprising the updated function corresponding to the unit of the hierarchical model and the modified function signature. - View Dependent Claims (10, 11, 12)
-
-
13. A non-transitory computer-readable medium storing machine-executable instructions for previewing executable code in an automatic code generator, the medium storing instructions for:
-
a) providing a unit of a hierarchical model on a first graphical user interface (GUI); b) receiving as input from a user an initial function signature for the unit of the hierarchical model on a preview GUI; c) automatically generating a function from the unit and the initial function signature; d) dynamically displaying the initial function signature and the generated function to the user on the preview GUI; e) receiving a modified function signature for the unit from the user on the preview GUI; f) automatically generating an updated function from the unit and the modified function signature; g) dynamically displaying the modified function signature and updated function to the user on the preview GUI; and h) automatically generating code for the unit of the hierarchical model from the updated function, the code for the unit of the hierarchical model comprising the updated function corresponding to the unit of the hierarchical model and the modified function signature. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20)
-
-
21. An automatic code generation system to generate code from a hierarchical model, comprising:
-
means for providing a unit of a hierarchical model on a first graphical user interface (GUI); means for receiving as input from a user an initial function signature for the unit of the hierarchical model on a preview GUI; means for automatically generating a function from the unit and the initial function signature; means for dynamically displaying the initial function signature and the generated function to the user on the preview GUI; means for receiving a modified function signature for the unit from the user on the preview GUI; means for automatically generating an updated function from the unit and the modified function signature; means for dynamically displaying the modified function signature and updated function to the user on the preview GUI; and means for automatically generating code for the unit of the hierarchical model from the updated function, the code for the unit of the hierarchical model comprising the updated function corresponding to the unit of the hierarchical model and the modified function signature.
-
Specification