首页 | 本学科首页   官方微博 | 高级检索  
     

一个测试程序自动生成器的设计与实现
引用本文:胡正国,朱志强.一个测试程序自动生成器的设计与实现[J].软件学报,1993,4(5):58-62.
作者姓名:胡正国  朱志强
作者单位:西北工业大学计算机科学与工程系,西安 710069;西北工业大学计算机科学与工程系,西安 710069
基金项目:国家自然科学基金项目6873039资助
摘    要:本文介绍了一个用于编译程序测试的程序自动生成器,该生成器以编译程序对象语言的前后文无关文法作为输入,根据该语言的具体特点,对语言的数据对象采用了一种表结构的描述方式,并通过对表的操作,有效的解决了语言的前后文相关问题,该生成器不但可按语言文法的描述自动生成覆盖该语言各种语法现象的程序,而且还可按用户要求生成具有某种语法现象的程序,另外,该生成器在生成策略、生成算法及推导机制等方面也有自己显著的特色。

关 键 词:编译程序  程序自动生成  设计  测试
收稿时间:1991/2/25 0:00:00
修稿时间:6/3/1991 12:00:00 AM

THE DESIGN AND IMPLEMENTATION OF AN AUTOMATIC GENERATOR FOR TESTING PROGRAM
Hu Zhengguo and Zhu Zhiqiang.THE DESIGN AND IMPLEMENTATION OF AN AUTOMATIC GENERATOR FOR TESTING PROGRAM[J].Journal of Software,1993,4(5):58-62.
Authors:Hu Zhengguo and Zhu Zhiqiang
Abstract:This paper introduces an automatic program generator for testing compiler, which acceptes the context-free grammar of the compiled language as its input. According to the features of the language, we represent its basic elementes with some table-structures , and solve the context-sensitive problem of language effectively by operating on them. The generator can automatically produce not only the programmes that overlay all grammar conditiones, but also the programmes which have some special grammar conditiones but also the programmes which have have some special grammar conditions for users.The generator itself has some features in its generation-strategy,generation_algorithm and deravation-principle.
Keywords:
本文献已被 CNKI 维普 等数据库收录!
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号