Volume 7 Number 5 (May. 2012)
Home > Archive > 2012 > Volume 7 Number 5 (May. 2012) >
JSW 2012 Vol.7(5): 1109-1120 ISSN: 1796-217X
doi: 10.4304/jsw.7.5.1109-1120

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

Xiang-Hu Wu, Ming-Cheng Qu, Zhi-Qiang Liu, and Jian-Zhong Li

School of Computer Science and Technology, Harbin Institute of Technology, Harbin, 150001, China

Abstract—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 CDT\GCC\GDB. 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.

Index Terms—Automatic generation of codes; structured flowchart; identification of structure; problem analysis diagram; integrated development platform

[PDF]

Cite: Xiang-Hu Wu, Ming-Cheng Qu, Zhi-Qiang Liu, and Jian-Zhong Li, "Automatic Conversion of Structured Flowcharts into Problem Analysis Diagram for Generation of Codes," Journal of Software vol. 7, no. 5, pp. 1109-1120, 2012.

General Information

ISSN: 1796-217X (Online)
Frequency:  Quarterly
Editor-in-Chief: Prof. Antanas Verikas
Executive Editor: Ms. Yoyo Y. Zhou
Abstracting/ Indexing: DBLP, EBSCO, CNKIGoogle Scholar, ProQuest, INSPEC(IET), ULRICH's Periodicals Directory, WorldCat, etc
E-mail: jsweditorialoffice@gmail.com
  • Mar 01, 2024 News!

    Vol 19, No 1 has been published with online version    [Click]

  • Jan 04, 2024 News!

    JSW will adopt Article-by-Article Work Flow

  • Apr 01, 2024 News!

    Vol 14, No 4- Vol 14, No 12 has been indexed by IET-(Inspec)     [Click]

  • Apr 01, 2024 News!

    Papers published in JSW Vol 18, No 1- Vol 18, No 6 have been indexed by DBLP   [Click]

  • Nov 02, 2023 News!

    Vol 18, No 4 has been published with online version   [Click]