搜索资源列表
编译原理及实践
目 录
译者序
前言
第1章 概论 1
1.1 为什么要用编译器 2
1.2 与编译器相关的程序 3
1.3 翻译步骤 5
1.4 
ljbds_dg
- 一个本人修改的实现逻辑表达式的分析的编译程序,采用递归下降分析法,生成三地址代码,是学习编译原理的好帮手.-a revised Logical Expressions of the compiler, using recursive drop analysis, Generation 3 addresses code, compiler theory is the study of good helper.
analyse
- 递归下降分析法 (1)E->TG (2)G->+TG|—TG (3)G->ε (4)T->FS (5)S->*FS|/FS (6)S->ε (7)F->(E) (8)F->i
luobo
- 基于递归下降分析法的循环语句WHILE E DO S1的语法及语义分析程序,其中E为布尔表达式,S1为赋值语句。输出的中间代码选用逆波兰式。
tjyj
- 2. 数据结构:设计存储中间结果及中间代码(四元式)的数据结构; 3. 算法:递归下降分析法的实现;
cck
- 基于递归下降分析法的循环语句WHILE E DO S1的语法及语义分析程序,其中E为布尔表达式,S1为赋值语句。输出的中间代码选用逆波兰式
Compile
- 1. 系统功能:能读取词法分析结果进行语法分析,在语法分析的同时进行语义分析,生成中间代码; 2. 数据结构:设计存储中间结果及中间代码(逆波兰式)的数据结构; 3. 算法:递归下降分析法的实现;
tjyj
- 2. 数据结构:设计存储中间结果及中间代码(四元式)的数据结构; 3. 算法:递归下降分析法的实现; -2. Data Structure: Design store intermediate results and intermediate code (quaternion type) data structure 3. Algorithm: Recursive analysis of the realization of
parser
- 采用递归下降分析法实现C0语言的语法分析器,其中中间表示采用抽象语法树的形式。 程序的输入:词法分析阶段的输出文件 程序的输出:存储了抽象语法树相关信息的XML格式的文件 -Decline in the use of recursive analysis method to achieve C0 language parser, which indicated that the use of intermediate abs
by2
- 递归下降分析法构造的语法分析机 能够判断科学计数法 可判别的运算符为+-*/()-Recursive decline analysis grammar structure analysis of machine able to judge the scientific counting method can identify the operator for 2B !-*/()
1
- 编译原理 While循环语句的翻译程序设计(递归下降法、输出四元式)-Translation program design compiler theory While loop (recursive descent method, four yuan of output type)
Syntax-analyzer
- 编制递归下降法的语法分析器 通过设计、编制、调试一个典型的语法分析程序,能识别由加+、乘*、括号()、操作数所组成的算术表达式,其文法如下: E→TE E →+TE ∣ε T→FT T →*FT ∣ε F→(E)∣i 1.程序功能(举例) 输入:#i1*(i2+i3)# 输出:SUCCESS 输入:# i1*( i2+i3# 输出:FOUND ERROR -Recursive Desc
recursive-descent-Act
- FOR循环语句的翻译程序设计(递归下降法、输出四元式)-FOR the cycle statement translation program designed (recursive descent Act, the output quaternion)
d_g_x_j_wenfafenxi
- 利用递归下降法实现LL(1)文法分析源程序,比较简单易懂,可以参考。-Use of recursive descent LL (1) grammar analysis of source code is relatively simple to understand, you can refer.
main
- 编译原理递归下降法实现 识别无左递归文法-Recursive descent compiler theory
fz
- 赋值语句的翻译,递归下降法是语法分析中最易懂的一种方法。它的主要原理是,对每个非终极符按其产生式结构构造相应语法分析子程序,其中终极符产生匹配命令,而非终极符则产生过程调用命令。-Translation of assignment statements, recursive descent parser is the most straightforward method. Its main principle is that thei
interpreter
- 简单的C语言编译器+解释器,使用DFA+递归下降法与四元组等实现,可以实现简单的数值计算-Simple C language compiler+ interpreter, using DFA+ recursive descent method and quads, etc. to achieve, you can achieve a simple numerical calculation
Recursive-descent-parser
- 此源码是编译原理中对“递归下降法的语法分析器“的设计-This principle is to compile the source code for " recursive descent parser" design
lexical-analyzer
- 用递归下降法编写一个语法分析程序,使之与词法分析器结合,能够根据语言的上下文无关文法,识别输入的单词序列是否文法的句子。-Write a parser using recursive descent method, combined with the lexical analyzer makes it possible depending on the context-free grammar of language, whether
diguixiajiangfa
- 这是一个递归下降法做的语法分析小源码,希望对感兴趣的人有所帮助-This is a recursive descent method to do a grammar analysis of the small source, and they hope to help people who are interested in