程序流程图到代码的自动生成算法  被引量:13

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

在线阅读下载全文

作  者:王黎明[1] 王帼钕[1] 周明媛[1] 褚艳利[1] 陈科[1] 陈平[1] 

机构地区:[1]西安电子科技大学软件工程研究所,陕西西安710071

出  处:《西安电子科技大学学报》2012年第6期70-77,共8页Journal of Xidian University

基  金:国家自然科学基金资助项目(60903198)

摘  要:提出了一种从标准程序流程图到结构化代码生成的新算法.该算法通过对程序流程图结构的分析与识别、循环结构的线性化以及对分支结构域的确定等过程,能够生成符合程序流程图语义的结构化C代码(包括continue/break/return);同时,能够识别出非结构化的程序流程图.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.

关 键 词:可视化编程 程序流程图 模型驱动 代码生成 

分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象