摘要 |
PROBLEM TO BE SOLVED: To provide an automatic code generation system capable of expanding an input specification by which a user can define the format of the input specification by himself. SOLUTION: The input specification inputted from an input device 1 to a processor 2 inputs a data structure expression 231 of input specification defined by a data structure defining means 23 to an access function generator 22 analyzes a data structure and generates an access function for extracting related elements among elements in the data structure and when the elements in the data structure are recursively related the access function for finding the depth of the relation is generated. When there is a description calling the access function in a script 24, a code generating part 21 executes the access function through an interpreter 212, acquires data in the input specification and expands them into script 24, the script is executed by the interpreter 212 and a code is generated.
|