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


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:  Bimonthly (Since 2020)
Editor-in-Chief: Prof. Antanas Verikas
Executive Editor: Ms. Yoyo Y. Zhou
Abstracting/ Indexing: DBLP, EBSCO, Google Scholar, ProQuest, INSPEC(IET), ULRICH's Periodicals Directory, WorldCat, etc
E-mail: jsw@iap.org
  • Apr 26, 2021 News!

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

  • Jun 22, 2020 News!

    Papers published in JSW Vol 14, No 1- Vol 15 No 4 have been indexed by DBLP     [Click]

  • Sep 13, 2021 News!

    The papers published in Vol 16, No 6 have all received dois from Crossref    [Click]

  • Jan 28, 2021 News!

    [CFP] 2021 the annual meeting of JSW Editorial Board, ICCSM 2021, will be held in Rome, Italy, July 21-23, 2021   [Click]

  • Sep 13, 2021 News!

    Vol 16, No 6 has been published with online version     [Click]