文件名称:analyser
- 所属分类:
- 编译器/词法分析
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 80kb
- 下载次数:
- 0次
- 提 供 者:
- 刘*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
整个工作过程主要划分成词法分析阶段、语法分析阶段、中间代码生成和目标代码生成四个部分。
第一阶段是把输入的字符串形式的源程序分割成一个个单词符号。
第二阶段是识别由词法分析给出的单词符号序列在结构上是否符合给定的文法规则。
第三阶段中间代码的形式采用便于阅读的四元式。
第四阶段是把经过语法分析或优化后的中间代码作为输入,将其转换成特定机器的机器语言或汇编语言作为输出,这样的转换程序称为代码生成器。-The whole process is divided into the main phase of lexical analysis, grammar analysis phase, intermediate code generation and target code generation four parts. The first stage is the input string form of source code is separated into a word symbols. The second stage is the recognition given by the lexical analysis of the word symbolic sequence in structure with the given grammar rules. The third phase of the form of intermediate code using easy-to-read type Quaternion. After the fourth stage is the syntax analysis or optimized intermediate code as input, convert it into machine language of a particular machine or assembly language as output, such a conversion process known as code generator.
第一阶段是把输入的字符串形式的源程序分割成一个个单词符号。
第二阶段是识别由词法分析给出的单词符号序列在结构上是否符合给定的文法规则。
第三阶段中间代码的形式采用便于阅读的四元式。
第四阶段是把经过语法分析或优化后的中间代码作为输入,将其转换成特定机器的机器语言或汇编语言作为输出,这样的转换程序称为代码生成器。-The whole process is divided into the main phase of lexical analysis, grammar analysis phase, intermediate code generation and target code generation four parts. The first stage is the input string form of source code is separated into a word symbols. The second stage is the recognition given by the lexical analysis of the word symbolic sequence in structure with the given grammar rules. The third phase of the form of intermediate code using easy-to-read type Quaternion. After the fourth stage is the syntax analysis or optimized intermediate code as input, convert it into machine language of a particular machine or assembly language as output, such a conversion process known as code generator.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
lr.txt
lrtable.txt
lrtable_o.txt
lr_o.txt
lulu.aps
lulu.clw
lulu.cpp
lulu.dsp
lulu.dsw
lulu.exe
lulu.h
lulu.ncb
lulu.opt
lulu.plg
lulu.rc
lulu.txt
luluDoc.cpp
luluDoc.h
luluView.cpp
luluView.dsp
luluView.dsw
luluView.h
luluView.ncb
luluView.opt
luluView.plg
MainDialog.cpp
MainDialog.h
MainFrm.cpp
MainFrm.h
mcode.txt
Message.cpp
Message.h
newtest1.txt
pro.txt
res
...\lulu.rc2
reserveword.rw
resource.h
StdAfx.cpp
StdAfx.h
test2.txt
word.wl
zoil.txt
中间代码readme.txt
lrtable.txt
lrtable_o.txt
lr_o.txt
lulu.aps
lulu.clw
lulu.cpp
lulu.dsp
lulu.dsw
lulu.exe
lulu.h
lulu.ncb
lulu.opt
lulu.plg
lulu.rc
lulu.txt
luluDoc.cpp
luluDoc.h
luluView.cpp
luluView.dsp
luluView.dsw
luluView.h
luluView.ncb
luluView.opt
luluView.plg
MainDialog.cpp
MainDialog.h
MainFrm.cpp
MainFrm.h
mcode.txt
Message.cpp
Message.h
newtest1.txt
pro.txt
res
...\lulu.rc2
reserveword.rw
resource.h
StdAfx.cpp
StdAfx.h
test2.txt
word.wl
zoil.txt
中间代码readme.txt