期刊文献+

基于产生式的多语言程序理解的算法

Production Rule-Based Multi-Language Program Comprehension of Algorithm
下载PDF
导出
摘要 提出一种程序理解实现方案,通过将程序设计语言的词法规则和语法规则以产生式表示,设计基于产生式多语言程序处理算法,将产生式自动转化为对应的词法和语法规则函数,使得不同的程序设计语言规则可以采用统一的方式描述,从而可用一套程序理解系统实现对多种程序设计语言的程序理解,以后增加某种程序设计语言的程序理解,只要定义对应程序设计语言的词法和语法规则产生式即可实现,有效地解决了程序理解系统的共享性难题。 This paper presents a program comprehension scheme,it expresses the programming language lexical rule and grammar rule by the produce type,and designed the production rule-based multi-language program transform algorithm automatic convert it to lexical and grammar rule function.So the different programming languages can description by the same way,and then can use the same program comprehension system to achieve multi-language program comprehension.Add some programming language program comprehension,as long as defined correspondence programming language lexical and grammar rules produce type can be realized,effectively solve the problem of sharing program comprehension system.
出处 《计算机系统应用》 2012年第2期51-55,共5页 Computer Systems & Applications
关键词 程序理解 产生式 处理算法 规则函数 program comprehension production type transform algorithm rule function
  • 相关文献

参考文献6

  • 1Vinz BL, Etzkom LH. Improving program comprehension by combining code understanding with comment understanding. Elsevier Science Publishers B. V. Knowledge-Based Systems, 2008,21(8):813-825.
  • 2Pich C, Nachmanson L, Robertson GG. Visual analysis of importance and grouping in software dependency graphs. ACM. Software Visualization,2008,Sep: 29-32.
  • 3lmagix--4D.Comprehensive program understandding tool for- CIC ++.http://www.imagix.com/products/imagix4d.html.2010 March.
  • 4Source Insight. Program code editor and code browser .http: //www.sourceinsight.com/.2010 April.
  • 5Source Navigator. A source code analysis tool. http:// sourcenav.sourceforge.net/.2010 July.
  • 6Kscope. A source browsing and editing environment.http:// kscope.sourceforge.net/. 2009 December.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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