搜索资源列表
编译课设
- 算术表达式词法和语法分析程序,递归下降法,四元式-arithmetic expression morphology and syntax analysis procedures, recursive method, four yuan -
四元式
- c实现的四元式,模拟编译原理来实现,程序本身没什么难度,不过写这种程序能进一步加深对编译原理的理解!-c 4 yuan to achieve the style, analog compiler principles to achieve, the process itself little more difficult, but to write such a procedure would further deepen the understanding of compiler theory
compile.rar
- 我做编译原理课程设计时的条件语句的四元式,希望大家多多指正,I have compiled the curriculum design at the time of the principle of conditional statements of the four-style, a lot of hope that we can correct me
middle_code
- 编译原理中间代码生成的程序,仅仅实现了表达式到四元式的转换-Compiler theory intermediate code generation process, only to realize the expression of quaternion type of conversion
codegen-scanner
- 自定义简单语法类C语言编译器,具备识别C语言基本语句功能,并生成四元式-Since the definition of simple types of C language syntax compiler, a statement to identify the basic functions of C language and generate quaternion type
easycompile
- 实现if条件语句的编译,输出中间代码为四元式-If conditional statement to achieve the compilation, the output intermediate code for the quaternary type
C0Compiler
- 能生成四元式和16位汇编语言的编译器,if-else,while,for,switch语句均能编译成功。代码并不完美,仅供参考-Can generate quaternary assembly language-and 16-bit compiler, if-else, while, for, switch statements can compile successfully. Code is not perfect, are for reference only
bianyiyuanlishiyan
- 相当强悍,学编译原理的绝不能错过! ------------------------------------ 编译原理的几个实验: 1.词法分析 2.语法分析 3.表达式求值 4.四元式中间代码 有C和VC两个环境、-Very tough, learning to compile principle must not be missed!------------------------------------ Compilation Principle of sev
WHILE
- 编译原理课设 有语法分析 词法分析 3地址输出 可惜的是不是四元式输出-Compilation Principle lesson lexical analysis with parsing 3 address output It is a pity that instead of quaternion output
bianyi
- 编译器,对文法在c环境下的编译过程,最后生成四元式。-Compiler, on the grammar in the c compiler environment process, the final generation of quaternion type.
siyuanshi
- 软件学院学生编译原理课程实验,中间器代码生成器设计,输入算术表达式,输出语法分析结果及相应的四元式序列 -Software College courses students compiling principle experiment, intermediate code generator design, the importation of arithmetic expressions, the output syntax analysis and the corresponding s
CompileWork(optimize_available)
- 北航编译原理课程设计成果——一个扩充的C0文法编译器,带优化,生成的中间代码为四元式,最终代码为X86汇编。很好,很强大!-BUAA compile the results of the principle of curriculum design- a scalable C0 grammar compiler, with optimization, the generated code between quaternion type, the final code for the X86 co
ifelse
- 此程序是对条件语句进行翻译,输入一个条件语句,例如:if B then C1 else C2,先进行词法分析,词法分析的主要任务是:从左到右逐个字符地对源程序进行扫描,产生一个个的单词符号,把作为字符串的源程序改造成为单词符号串的中间程序,词法分析是编译的基础,词法分析的功能是输入源程序,输出单词符号(关键字,标识符,常数,运算符,界符),词法分析完成之后,再进行LL(1)语法分析,语义分析,最后输出四元式(语法分析,属性文法,四元式的相关知识技术描述如下)-This procedure is
siyuanshi
- 本人学编译时写的一个中间代码四元式产生式的代码,希望对大家有所帮助-I study compile-time code written in an intermediate-type quaternion production code, I hope all of you to help
simple23456
- 用C++语言编写一个简单语言的编译器 能实现词法分析,语法分析,语义分析 四元式输出-C++ language using a simple language, the compiler can achieve lexical analysis, syntax analysis, semantic analysis quaternary-output
ForTrans
- 编译课程设计的基本任务是设计一个mini-pascal语言的编译器,将mini-pascal 语言的源程序翻译成等价的中间代码。要求输入mini-pascal语言写的源程序(以文件形式存储),首先经过词法分析,输出原程序分析后的二元式文件,供语法制导翻译用。经过语法制导翻译将词法分析器产生的二元式翻译成等价的四元式形式,也就是中间代码的生成。要求能进行正常的关键字如:begin,end, if ,else 等的识别-Compile the basic task of curriculum des
bianyizonghe
- c语言编写的编译原理综合性实验,实现部分c语言代码段的词法、语法、语义分析,最后输出四元式。 没什么突出的,但是保证是最详细的。-c language compiler principles of comprehensive experiment, c language code to achieve some of the lexical, syntax, semantic analysis, the final output quaternion type. Nothing outsta
complier
- 我们设计的编译程序涉及到编译五个阶段中的三个,即词法分析器、语法分析器和中间代码生成器。编译程序的输出结果包括词法分析后的二元式序列、变量名表、状态栈分析过程显示及四元式序列程序,整个编译程序分为三部分: (1) 词法分析部分 (2) 语法分析处理及四元式生成部分 (3) 输出显示部分 -We designed the compiler to compile the five stages involved in the three, namely, lexical analy
MyCompile
- 实现以扩充C0文法为源文法,四元式为中间代码,x86汇编代码为目标代码的编译器。-C0 to achieve to expand as the source grammar grammar, style for the intermediate quaternary code, x86 assembly code for the object code of the compiler.
pengge_SLR_zancheng
- 本源码实现了编译原理的词法分析、语法分析、语义分析、及相应的四元式的产生。-This source realized the compiling principle lexical analysis, grammatical analysis, semantic analysis, and the corresponding four yuan type production.