Approach for automatically generating program code
First Claim
Patent Images
1. A method for automatically generating program code, the method comprising the computer-implemented steps of:
- while scanning a directory comprising a plurality of electronic documents that form a software design specification that defines software routines, function declarations, and relationships among software routines, automatically identifying a section of the software design specification that corresponds to a definition of a particular software routine, and maintaining a location of the section of the software design specification within the directory using a data structure mapping (a) the particular software routine to (b) a path, within the directory, of the section of the software design specification that corresponds to the definition of the particular software routine;
programmatically generating skeleton code of at least a first program file and of a second program file based on the definition of the particular software routine;
wherein the skeleton code of the first program file corresponds to code for declaring one or more functions of the particular software routine;
wherein the skeleton code of the second program file corresponds to code for implementing the particular software routine;
automatically creating, based at least in part on the location of the section of the software design specification within the directory of the software design specification, an output directory for locating the first program file and the second program file.
0 Assignments
0 Petitions
Accused Products
Abstract
Programming the creation of a software system is facilitated by automating the generation of some of the program code that is necessary for the software system. The generation of program code may be automated based on a software design specification that can be created by developers. The software design specification may be scanned and code may be generated for implementing the software system based on information obtained from scanning the software design specification.
-
Citations
24 Claims
-
1. A method for automatically generating program code, the method comprising the computer-implemented steps of:
-
while scanning a directory comprising a plurality of electronic documents that form a software design specification that defines software routines, function declarations, and relationships among software routines, automatically identifying a section of the software design specification that corresponds to a definition of a particular software routine, and maintaining a location of the section of the software design specification within the directory using a data structure mapping (a) the particular software routine to (b) a path, within the directory, of the section of the software design specification that corresponds to the definition of the particular software routine;
programmatically generating skeleton code of at least a first program file and of a second program file based on the definition of the particular software routine;
wherein the skeleton code of the first program file corresponds to code for declaring one or more functions of the particular software routine;
wherein the skeleton code of the second program file corresponds to code for implementing the particular software routine;
automatically creating, based at least in part on the location of the section of the software design specification within the directory of the software design specification, an output directory for locating the first program file and the second program file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer-readable medium for automatically generating program code, the computer-readable medium carrying instructions which, when processed by one or more processors, cause:
-
while scanning a directory comprising a plurality of electronic documents that form a software design specification that defines software routines, function declarations, and relationships among software routines, automatically identifying a section of the software design specification that corresponds to a definition of a particular software routine, and maintaining a location of the section of the software design specification within the directory using a data structure mapping (a) the particular software routine to (b) a path, within the directory, of the section of the software design specification that corresponds to the definition of the particular software routine;
programmatically generating skeleton code of at least a first program file and of a second program file based on the definition of the particular software routine;
wherein the skeleton code of the first program file corresponds to code for declaring one or more functions of the particular software routine;
wherein the skeleton code of the second program file corresponds to code for implementing the particular software routine;
automatically creating, based at least in part on the location of the section of the software design specification within the directory of the software design specification, an output directory for locating the first program file and the second program file. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. An apparatus for automatically generating program code, the apparatus comprising a memory storing instructions which, when processed by one or more processors, cause:
-
while scanning a directory comprising a plurality of electronic documents that form a software design specification that defines software routines, function declarations, and relationships among software routines, automatically identifying a section of the software design specification that corresponds to a definition of a particular software routine, and maintaining a location of the section of the software design specification within the directory using a data structure mapping (a) the particular software routine to (b) a path, within the directory, of the section of the software design specification that corresponds to the definition of the particular software routine;
programmatically generating skeleton code of at least a first program file and of a second program file based on the definition of the particular software routine;
wherein the skeleton code of the first program file corresponds to code for declaring one or more functions of the particular software routine;
wherein the skeleton code of the second program file corresponds to code for implementing the particular software routine;
automatically creating, based at least in part on the location of the section of the software design specification within the directory of the software design specification, an output directory for locating the first program file and the second program file. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24)
-
Specification