J4 ›› 2015, Vol. 37 ›› Issue (05): 937-945.
• 论文 • Previous Articles Next Articles
ZHU Yun,ZENG Xiaoqin,ZHU Ning,LIU Yufeng
Received:
Revised:
Online:
Published:
Abstract:
Flowchart is very important in the lifecycle of software engineering. During the design of a program,programmers usually need to draw a structural flowchart before coding.While in the course of the analysis and maintenance of a program,it can be helpful for programmers to analyze the program’s structure by firstly reversing the source codes to a corresponding flowchart.Obviously,automatical transformation between flowcharts and source codes can save plenty of human resources and lots of development time. We discuss how to make use of the Edge-based Graph Grammar (EGG) to automatically perform the transformation,and demonstrate the realization of grammatical analysis and reverse generation of flowcharts by applying the reduction and derivation operations of the EGG through an example.
Key words: graph grammar;flowchart;source code;reduction;derivation
ZHU Yun,ZENG Xiaoqin,ZHU Ning,LIU Yufeng. Automatic transformation between programs’ flowcharts and codes based on graph grammar [J]. J4, 2015, 37(05): 937-945.
0 / / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: http://joces.nudt.edu.cn/EN/
http://joces.nudt.edu.cn/EN/Y2015/V37/I05/937