期刊文献+

简化GNU编译器套件抽象语法树的算法研究 被引量:2

Research on the method of simplifying GNU compiler collection abstract syntax tree
下载PDF
导出
摘要 提出了一种消除抽象语法树文本中冗余的方法,借助Knuth-Morris-Pratt(KMP)算法,设计核心算法,对抽象语法树进行简化,并选出几个经典的代码片段进行实验,对算法的性能做了相应验证.实验结果表明,算法在消除冗余方面的简化率达到90%以上. We propose a method to eliminate the redundancy in the text of abstract syntax tree. By using the Knuth-Morris-Pratt(KMP) algorithm,we design the core algorithm,simplify the abstract syntax tree,and select several classic code fragments to be tested. The experimental results show that the reduction rate of the algorithm is more than 90%.
作者 高峰 吴海涛 Gao Feng;Wu Haitao(The College of Information,Mechanical and Electrical Engineering,Shanghai Normal University,Shanghai 200234,China)
出处 《上海师范大学学报(自然科学版)》 2018年第4期479-482,共4页 Journal of Shanghai Normal University(Natural Sciences)
关键词 抽象语法树 GNU编译器套件(GCC) Knuth-Morris-Pratt(KMP)算法 重复代码 abstract syntax tree GNU compiler collection (GCC) Knuth-Morris-Pratt(KMP) algorithm duplicated code
  • 相关文献

参考文献2

二级参考文献7

共引文献9

同被引文献4

引证文献2

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部