搜索资源列表
编译原理及实践
- 目 录 译者序 前言 第1章 概论 1 1.1 为什么要用编译器 2 1.2 与编译器相关的程序 3 1.3 翻译步骤 5 1.4 编译器中的主要数据结构 8 1.5 编译器结构中的其他问题 10 1.6 &
redown
- 在编译原理词法实现中的一个递归下降分析程序,将无左递归的文法符号对应一个函数.-in compiler theory of morphology achieve a recursive analysis program fell to the left - recursive grammar symbols of a corresponding function.
bysy2005
- 2002级计算机科学与技术专业(4-11班) 要求完成下述两个实验: 1、识别小型语言所有单词的词法分析程序设计(4机时) 2、算术表达式文法的递归下降分析程序设计(6机时) 实验一:词法分析器的构造与实现 -2002 Computer Science and Technology (4-11 classes) required to complete the following two experiments : one to identify all small l
ssbds_dgxj
- 一个改进的递归下降分析程序,实现算术表示式的翻译,形成三地址的中间代码,非常有参考价值.-a decline improved recursive analysis procedures, arithmetic expressions translation, formed three addresses of the intermediate code, very useful.
2_Height
- 实现逻辑表达式的分析的递归下降分析程序,生成四元式代码,
zishangerxia
- 编制一个递归下降分析程序,实现对词法分析程序提供的单词序列的语法检查和架构分析
用VC++编制的一个递归下降分析程序
- 用VC++编制的一个递归下降分析程序,实现对词法分析程序所提供的单词序列的语法检查和结构分析。,With VC++ Prepared a recursive descent parser to achieve lexical analysis procedure provided by the word sequence and structure analysis of grammar checker.
yufa
- 利用C语言编制递归下降分析程序,并对简单语言进行语法分析,实现对词法分析程序所提供的单词序列的语法检查和结构分析。-The use of C language drop analysis of recursive procedures, and simple language syntax analysis, the realization of the lexical analysis procedure provided by the grammar checker word sequenc
yufafenxi
- 利用递归下降分析程序实现对语法的分析,并输出语法树-Recursive descent parser used to achieve the analysis of grammar and syntax tree output
parser
- 采用递归下降分析法实现C0语言的语法分析器,其中中间表示采用抽象语法树的形式。 程序的输入:词法分析阶段的输出文件 程序的输出:存储了抽象语法树相关信息的XML格式的文件 -Decline in the use of recursive analysis method to achieve C0 language parser, which indicated that the use of intermediate abstract syntax tree form. Proced
yufafenxi
- 一个递归下降分析程序,实现了对语法分析程序所提供是单词序列的语法检查和结构,并实现了简单语言进行语法分析.-A recursive descent parser to realize a parser is provided by the word sequence and structure of the grammar checker, and the realization of a simple language syntax analysis.
bianyiyufa
- 编制一个递归下降分析程序,实现对词法分析程序所提供的单词序列的语法检查和结构分析。-Recursive analysis of the preparation of a decline in procedures to achieve lexical analysis procedure provided by the word sequence and structure analysis of grammar checker.
pr
- 编译原理课程设计 编制一个递归下降分析程序,实现对词法分析程序所提供的单词序列的语法检查和结构分析。-Principles of curriculum design compiled to formulate a recursive descent parser to achieve lexical analysis program provided by the grammar checker word sequence and structure analysis.
yffx
- 语法分析 C2.1 实验目的 编制一个递归下降分析程序,实现对词法分析程序所提供的单词序列的语法检查和结构分析. C2.2 实验要求 利用C语言编制递归下降分析程序,并对简单语言进行语法分析. C2.2.1待分析的简单语言的语法 用扩充的BNF表示如下: (1)<程序>::=begin<语句串>end (2)<语句串>::=<语句>{ <语句>} (3)<语句>::=<赋值语句>
Recursive_descent_parser
- 通过设计、编制、调试一个递归下降语法分析程序,实现对词法分析程序所提供的单词序列进行语法检查和结构分析,掌握常用的语法分析方法。通过本实验,应达到以下目标: 1、掌握从源程序文件中读取有效字符的方法和产生源程序的内部表示文件的方法。 2、掌握词法分析的实现方法。 3、上机调试编出的词法分析程序。 -By designing, developing, debugging a recursive descent parser, lexical analysis procedure t
101259374RockCarryPL0
- 使用C/C++语言作为实现语言,实现一个简单PL/0语言的编译器。手工编码实现编译器的组成部分。语法分析程序采用递归下降分析法。-The use of C/C++ language as the implementation language, to achieve a simple PL/0 language compiler. Hand-coding part of the compiler. Parser uses recursive descent analysis.
asdas
- 算术表达式递归下降分析程序设计 编程实现给定算术表达式的递归下降分析器。 算术表达式文法如下: E E+T | T T T*F | F F (E) | i -Arithmetic expressions recursive descent analysis program design programming for a given arithmetic expression recursive descent pars
rt
- 一个递归下降分析程序,实现对词法分析程序所提供的单词序列的语法检查和结构分析-Preparation of a recursive descent parser, lexical analyzer to achieve word sequence provided by the syntax checking and structural analysis.
ex2
- 编译原理实验,实现递归下降语法分析,比较简单的小程序(Compiler theory experiments, recursive descent syntax analysis, relatively simple procedure)
递归下降法分析过程(cpp)
- 采用递归子程序方法进行语法分析,对文法中的每个非终结符号按其产生式结构产生相应的语法分析子程序,完成相应的识别任务。其中终结符产生匹配命令,非终结符则产生调用命令。每次进入子程序之前都预先读入一个单词。因为使用了递归下降方法,所以程序结构和层次清晰明了,易于手工实现,且时空效率较高。实际的语法分析工作,从调用总程序的分析子程序开始,根据产生式进行递归调用各个分析子程序。