搜索资源列表
编译原理及实践
- 目 录 译者序 前言 第1章 概论 1 1.1 为什么要用编译器 2 1.2 与编译器相关的程序 3 1.3 翻译步骤 5 1.4 编译器中的主要数据结构 8 1.5 编译器结构中的其他问题 10 1.6 &
WHILE语句的翻译
- 用简单优先法设计并编写一个WHILE循环语句的语法及语义分析程序并输出用四元式表示的中间代码,同时实现词法分析程序对单词序列的词法检查和分析。-simple priority Design and prepare a WHILE loop is the syntax and semantic analysis procedures used and output 4 yuan, said the middle-code, while achieving lexical analysis proc
parserwithstack
- 编译作业,此法语法分析,并且模拟堆栈机,可以带if,while-compiler operations, the French and France analysis, and simulation stack machine, can take if, while
PLx_Compiler
- PLx语言的编译器。PLx语言是一种类Pascal语言,但语法比较简单,适用于编译原理教学。这个编译器不仅实现了编译,同时也集成了运行目标代码的虚拟机。当程序编译通过后,可以看到生成的汇编指令及其执行情况,用户可以选择单步执行,并同时观察指令流与数据流。源代码比较简洁且含有注释-PLx language compiler. PLx language is a language like Pascal, but relatively simple syntax, the principle app
min_Pascal
- min_Pascal语言的语法,其中<循环语句>改为 ::= do<语句> while<条件>。压缩包中还包括5个测试用例。 另外,如要文档,请给我邮件。-min_Pascal language syntax,
guyue30
- while语句的LL1词法语法和语义分析-LL1, syntax and semantic analysis
shua
- 同时论流刷定制的不同的网页同 时论流刷定制的不同的网页同时论流刷定制的不同的网页-while brushing customized flow of the different flow on the website while brushing customized website also different flow on the different brush customization On the website the same time brush customized flow
ljSimple
- 输入一个DO-WHILE的语句,进行词法分析,词法分析器利用超前搜索,状态转换等方法,将源程序转化成为一个一个的单词符号二元式,如果词法分析无误,则进入语法分析部分,使用简单优先法进行文法分析,为每个终极符与非终极符之间定义优先关系,利用优先关系进行移进-规约,如果能规约到文法的开始符,则文法分析成功,输出四元式.-importation of a DO-WHILE statements, lexical analysis, lexical analyzer using advanced sea
drysea1
- 编译原理的词法分析器源代码,这是编译原理的必修作业,我也为此头疼了好一阵!希望对大家有用~-compiler tenets of lexical analyzer source code, compile it is the principle of compulsory work, I am also a big headache for a good while! We hope that the right useful ~
DO-WHILE
- 通过设计、编制、调试一个DO-WHILE循环语句的语法及语义分析程序,加深对语法及语义分析原理的理解,并实现词法分析程序对单词序列的词法检查和分析。-through design, develop and debug a DO-WHILE cycle statement syntax and semantic analysis procedures, deepen the syntax and semantic analysis of the understanding of the princ
WHILE
- 编译原理课设 有语法分析 词法分析 3地址输出 可惜的是不是四元式输出-Compilation Principle lesson lexical analysis with parsing 3 address output It is a pity that instead of quaternion output
WHLE
- WHILE循环语句的翻译程序设计(递归下降法、输出三地址表示)-The circular statement of translation procedure design (recursive descent method, output three addresses)
Translate
- WHILE循环语句的翻译程序设计(递归下降法、输出十元四元式表示)-The circular statement of translation procedure design (recursive descent method, output four yuan type)
while
- 否符合while语句的文法,或者能不能通过文法的开始符号推导出该语句。 (2) 该程序应该包括词法分析器,能对输入的语句进行词法分析,然后再对输出结果。词法分析器应能识别关键字,标示符,常量,操作符等。 (3) 该程序的语法分析器能对输入的语法进行分析,判断输入语句能否满足while循环语句的文法。通过简单优先的方法对语句进行分析,看能否能归约到文法的开始符号。 (4) 该程序的语义分析器就是对分析结果进行输出,要求输出结果是三地址形式的。-Compliance with the s
do-while
- 实现do while 循环语句的翻译 LR方法 输出三地址-do while .cpp
while
- WHILE循环语句的语法及语义分析程序,加深对语法及语义分析原理的理解,并实现词法分析程序对单词序列的词法检查和分析。-WHILE loop syntax and semantic analysis procedures, better understanding of the syntax and semantic analysis of understanding of the principles and procedures to achieve lexical analysis of
DO-while
- do—while语句的翻译程序,使用的是递归向下的思想,中间代码采用四元式的形式输出-do-while statement translation process, using a recursive down the idea of using intermediate code of the form of four output
DO-WHILE
- DO-WHILE循环语句的翻译程序设计(简单优先法、输出三地址表示)-DO-WHILE loop of the translation process design (a simple priority method, the output address of said three)
DO-WHILE
- DO-WHILE循环语句的翻译程序设计(递归下降法、输出三地址表示)-DO-WHILE loop of the translation program design (recursive descent method, the output three-address indicated)
while
- 编译原理,课程设计,while语句lr分析法,三元式输出,没有错误,可以使用,本人亲测-Compiler theory, curriculum design, while lr statement analysis, triple-output, no errors, you can use, I pro-test! ! ! ! ! ! ! ! ! !