J4 ›› 2012, Vol. 39 ›› Issue (6): 70-77.doi: 10.3969/j.issn.1001-2400.2012.06.012

• Original Articles • Previous Articles     Next Articles

Research on and implementation of the algorithm from the program flowchart to the code

WANG Liming;WANG Guonü;ZHOU Mingyuan;CHU Yanli;CHEN Ke;CHEN Ping   

  1. (Research Inst. of Software Engineering, Xidian Univ., Xi'an  710071, China)
  • Received:2011-07-26 Online:2012-12-20 Published:2013-01-17
  • Contact: WANG Liming E-mail:wanglm@mail.xidian.edu.cn

Abstract:

A new method for generating the structural code from the standard program flowcharts is presented. By analyzing the flowchart, linearizing the cycle structure and delimiting the branch structure, the structual C code agreeing with the semanteme of the flowchart is generated. At the same time, the unstructural flowchart is recognized.

Key words: visual programming, flowcharting, model-based, code generation

CLC Number: 

  • tp331