Academic Journals Database
Disseminating quality controlled scientific knowledge

Automatic Conversion of Structured Flowcharts into Problem Analysis Diagram for Generation of Codes

Author(s): Xiang-Hu Wu | Ming-Cheng Qu | Zhi-Qiang Liu | Jian-Zhong Li

Journal: Journal of Software
ISSN 1796-217X

Volume: 7;
Issue: 5;
Start page: 1109;
Date: 2012;
Original page

Compared with flowchart, problem analysis diagram (PAD) can not only be used to describe the sequence of program but also the hierarchy structure. It is of great significance to automatically convert flowchart to PAD for generation of codes. There are some deficiencies in existing researches, and their key algorithms and technologies are not elaborated. By analyzing the characteristics of PAD and structured flowchart, a coding strategy is proposed, and a structure identification and coding algorithm are put forward for structured flow diagram and PAD. Based on the coding strategy a transformation algorithm which can transform flowchart into a semantically equivalent PAD is proposed. Then by using recursive algorithm the specific language code are generated from PAD. Finally a integrated development platform is developed using such algorithms, including flowchart modeling, code automatic generation, and CDTGCCGDB. The correctness and effectiveness of coding strategy and algorithm, the structural transformation from flowchart to PAD, and automatic generation of codes based on PAD have been verified through practical operations.
Why do you need a reservation system?      Save time & money - Smart Internet Solutions