基于产生式的多语言程序理解的算法
DOI:
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:


Production Rule-Based Multi-Language Program Comprehension of Algorithm
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 增强出版
  • |
  • 文章评论
    摘要:

    提出一种程序理解实现方案,通过将程序设计语言的词法规则和语法规则以产生式表示,设计基于产生式多语言程序处理算法,将产生式自动转化为对应的词法和语法规则函数,使得不同的程序设计语言规则可以采用统一的方式描述,从而可用一套程序理解系统实现对多种程序设计语言的程序理解,以后增加某种程序设计语言的程序理解,只要定义对应程序设计语言的词法和语法规则产生式即可实现,有效地解决了程序理解系统的共享性难题。

    Abstract:

    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,21(2):51-55

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2011-05-24
  • 最后修改日期:2011-06-20
  • 录用日期:
  • 在线发布日期:
  • 出版日期:
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京海淀区中关村南四街4号 中科院软件园区 7号楼305房间,邮政编码:100190
电话:010-62661041 传真: Email:csa (a) iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号