文件名称:shiyanbaogaoyangli
介绍说明--下载内容均来自于网络,请自行研究使用
这个报告记录了编译原理的大作业的过程和各个阶段的设计,包括词法分
析、语法分析、语义分析和汇编代码生成四个阶段,在语法分析时我采用了两种
语法分析,即一种自上而下的语法分析方法——LL(1)分析法,另一种是自底向
上的语法分析方法——SLR(1)分析法,这样可以了解到这两种不同的基本分析方
法,这样在语义分析阶段也要分这两种方法处理语义动作,并且要个产生式分别
编写语义动作。-The report recorded a big operation principle compile process and different stages of the design, including lexical analysis, syntax analysis, semantic analysis and compilation of code generation in four stages, in grammatical analysis, I have used two types of syntax analysis, that is, a self- top-down method of syntax analysis- LL (1) analysis, and the other is bottom-up grammar analysis- SLR (1) analysis, so that it can be seen that the basic analysis of two different methods, such stage in the semantic analysis of these two methods to deal with sub-semantic actions, and to the preparation of a generative semantics movement, respectively.
析、语法分析、语义分析和汇编代码生成四个阶段,在语法分析时我采用了两种
语法分析,即一种自上而下的语法分析方法——LL(1)分析法,另一种是自底向
上的语法分析方法——SLR(1)分析法,这样可以了解到这两种不同的基本分析方
法,这样在语义分析阶段也要分这两种方法处理语义动作,并且要个产生式分别
编写语义动作。-The report recorded a big operation principle compile process and different stages of the design, including lexical analysis, syntax analysis, semantic analysis and compilation of code generation in four stages, in grammatical analysis, I have used two types of syntax analysis, that is, a self- top-down method of syntax analysis- LL (1) analysis, and the other is bottom-up grammar analysis- SLR (1) analysis, so that it can be seen that the basic analysis of two different methods, such stage in the semantic analysis of these two methods to deal with sub-semantic actions, and to the preparation of a generative semantics movement, respectively.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
shiyanbaogaoyangli.pdf