所属分类:
编辑器/阅读器
开发工具:Visual C++
文件大小:5KB
下载次数:288
上传日期:2005-05-22 14:12:29
说明: 这是编译原理的源代码,涉及了编译原理的各个过程:词法分析,LL1语法分析,语义分析,中间代码生成,中间代码优化(常表达式优化,公共表达式优化,循环不变式优化),中间代码生成目标代码,目标代码的解释执行,详细地阐述了一个编译器的设计和实现。它是大纲教学,课程设计良好的示范,也是编程爱好者提高的好参考,其中这是中间代码生成部分。希望尽早的开通我的帐号,和大家多多交流,成为热爱编程的好朋友。
(this is a souce code about the principle of complier.it involves every procedure of the principle of complier:accidence analysis,LL1 gramer analysis,lexeme analysis,middle code generate,middle code optimaze.(integer expression optimaze,common expression optimaze,loop constant expression optimaze).generate middle code to object code .Execute the object code .It is describe the complier principle and how to do in detail.It is a best example of the main point of teaching and class design.It is also a reference for the fans of the gramer.This is the part of the middle code grenerate.I wish to be passed my account as soon as possible to communicating with others,to be the good friend with others.)