节点文献
程序自动编译系统的研制与实现
Development and Realization of Procedure Automatic Compiling System
【摘要】 开发了一个以Delphi为开发平台用Pascal语言编写的自动编译系统,能对for语句、while语句、repeat语句、if语句、procedure过程、function函数、递归调用、调用外部函数等进行解释执行。本系统针对源程序进行词法分析、语法分析、出错检测,并最终生成自定义的目标代码。后两项功能的实现是本系统的创新所在。
【Abstract】 This paper develops an automatic compiling system with Pascal language based on Delphi.The system can explain and execute the ’for’ sentence,the ’while’ sentence,the ’repeat’ sentence,the ’if’ sentence,the ’procedure’ process,the ’function’ function,the recursion transfer,the external function transfer,and so on.The system carrys through lexical analysis,grammar analysis,fluffing check and finally creating user-defined aim code.The latter twain functions are innovations of the system.
【关键词】 编译系统;
目标代码;
语法分析;
词法分析;
出错检测;
【Key words】 compiling system; aim code; grammar analysis; lexical analysis; fluffing check;
【Key words】 compiling system; aim code; grammar analysis; lexical analysis; fluffing check;
- 【文献出处】 计算机与现代化 ,Computer and Modernization , 编辑部邮箱 ,2007年09期
- 【分类号】TP314
- 【被引频次】1
- 【下载频次】75