搜索资源列表
4
- 目的:熟练掌握自下而上的语法分析方法,并能用程序实现。 要求: 1. 使用如下文法: E E+T | T T T*F | F F (E) | id 2. 对于任意给定的输入串(词法记号流)进行语法分析,要求采用LR分析器来完成。手工构造LR分析表,利用移进-归约分析算法(P69 图3.12)输出(P70 表3.8)对应的动作部分。如: 输入:id*+id+(id+id)# 输出:移进 按 F->id归约 移进 error
complier
- 我们设计的编译程序涉及到编译五个阶段中的三个,即词法分析器、语法分析器和中间代码生成器。编译程序的输出结果包括词法分析后的二元式序列、变量名表、状态栈分析过程显示及四元式序列程序,整个编译程序分为三部分: (1) 词法分析部分 (2) 语法分析处理及四元式生成部分 (3) 输出显示部分 -We designed the compiler to compile the five stages involved in the three, namely, lexical analy
BianYiYuanLi
- 编译原理所有重要算法的实现 以及词法分析语法分析、中间代吗生成。LL1 LR0 算符优先 算符表达式到NFA再到DFA的算法。-Compile program. LL1 LRO NFA->DFA->MFA
CMMCompiler
- CMM编译器 C#完成的,可以实现词法分析,语法分析,不错的用户界面,可以交付编译原理的课程实践。做得很不错,90+的作业-CMM compiler
yuyifenxicx
- 编译原理实验报告 词法分析器 语义语法分析-Compiler theory lexer semantic parsing
c-
- cminus c++实现 包含词法分析 语法分析 语义分析 中间代码生成(pcode) 目标代码生成(汇编)-cminus c++ implementation of syntax analysis including lexical semantic analysis of intermediate code generation (pcode) Target code generation (assembly)
tiger_compiler_in_java
- 编译器实现。词法分析,语法分析,类型检查,注释分析树构造。-Tiger compiler implemented in Java.
myPL0
- 本次实验使用平台是Microsoft Visual C++6.0,编程语言是C语言,利用递归下降子程序法实现对一个PL/0源程序中的表达式、各种说明语句、赋值语句进行词法分析和语法分析,完成符号表的管理并能实现确定源码中标识符的类型与二维坐标位置,和赋值语句及表达式中间代码的生成,做的一大亮点是程序有着很严格的出错处理子程序,能确定错误类型和错误位置,能检测输入源程序的开头,数值类型的判断,运算错误检查,变量定义重复性的检查,数值类型的一致性检查,语法错误的检查等多达二十种错误类型。 程序的
Simple-high-level-language-compiler
- 实现了一个简单的高级语言编译器,语法分析,词法分析,语义分析等-Implements a simple high-level language compiler, syntax analysis, lexical analysis, semantic analysis
lexGrammer
- 用C语言实现的编译原理词法分析、语法分析联合程序-Implemented using C language compiler theory of lexical analysis, parsing the joint program
Compile-principle-experiment1-6
- 编译原理实验指导书 实验一 词法分析程序(扫描器)的设计 实验二 递归下降语法分析程序设计 实验三 LL(1)语法分析器设计 实验四 算符优先分析器设计 实验五 LR分析器设计 实验六 语法制导翻译程序设计-Compile term Principle Experiment Experimental Analysis of Instruction Program (scanner) is designed to test two recursive descent par
Compilertheorylexicalsyntax-design
- 编译原理的简单编译器实现,词法语法语义分析,很强大-it is very Strong,and it is very useful for us,so please download it.don t lose it.
基于C-语言的词法分析及语法分析
- 学生在学习《编译原理》课程过程中,结合各章节的构造编译程序的基本理论,要求用C或C++语言描述及上机调试,实现一个 C-Minus 小编译程序(包括词法分析,语法分析等重要子程序),使学生将理论与实际应用结合起来,受到软件设计等开发过程的全面训练,从而提高学生软件开发的能力。
tiny parse analysis
- tiny编译器,词法分析,语法分析,c语言,parse,lexical
50268419
- VC实现的PL0编译器,该程序实现词法分析,语法分析及语义分析(VC realize PL0 compiler, the program realization of lexical analysis, syntactic analysis and semantic analysis)
编译课程设计【题目2】
- C++语言做的一个小型编译器,可以进行词法分析、语法分析、语义分析及中间代码生成(Lexical analysis, syntax analysis, semantic analysis and intermediate code generation)
bianyi_exe2
- 编译原理语法分析程序,根据词法分析的输出结果,结合语法规则,建立抽象语法分析树(Compilation principle grammar analysis program, according to the lexical analysis of the output results, combined with syntax rules, the establishment of abstract syntax analysis tree)
yufafenxi
- 使用的文法如下: E ? TE ¢ E ¢ ? + TE ¢ | e T ? FT ¢ T ¢ ? * FT ¢ | e F ? (E) | id 对于任意给定的输入串(词法记号流)进行语法分析,通过递归下降方法和非递归预测分析方法来实现(The syntax analysis of any given input string (lexical token stream) is implemented by recursive desc
15182613_词法分析
- 用来分析程序中词的属性,显示相应的类别码,以便为未来的语法分析做铺垫(The word attribute is used to analysis program, display the corresponding category code, in order to pave the way for future grammar analysis)
yufa
- 词法分析输出的单词基础上进行语法分析,输出相应的语法分析结果和错误信息。(On the basis of the word analysis of the output words, the grammatical analysis is carried out, and the corresponding results of grammatical analysis and error information are output.)