摘要 |
PROBLEM TO BE SOLVED: To provide a program generation device and a block diagram generation device, for generating a program so as not to unnecessarily increasing the number of program instructions even in the case of a block diagram having a multiple branch, and maintaining original visual representation of the block diagram as a figure for restoration. SOLUTION: The program generation device includes: a means reading a block diagram having at least two branch points; a means dividing the block diagram at each branch point to generate a plurality of block diagram pieces; a means generating structure information of the plurality of block diagram pieces; a means generating program instructions for processing a plurality of first block diagram pieces; and a program generation means arranging each program instruction, describing the structure information of each first block diagram piece in a comment line of the program instruction corresponding to each first block diagram piece, and describing the structure information of a second block diagram piece in any comment line of the program instructions to generate the program. COPYRIGHT: (C)2010,JPO&INPIT |