搜索资源列表
语义分析
- 这是编译原理的源代码,涉及了编译原理的各个过程:词法分析,LL1语法分析,语义分析,中间代码生成,中间代码优化(常表达式优化,公共表达式优化,循环不变式优化),中间代码生成目标代码,目标代码的解释执行,详细地阐述了一个编译器的设计和实现。它是大纲教学,课程设计良好的示范,也是编程爱好者提高的好参考,其中这是语义分析部分。希望尽早的开通我的帐号,和大家多多交流,成为热爱编程的好朋友。-this principle is to compile the source code, the compile
SmartC语法分析版
- 词法分析程序,是一个词法分析程序,可以分析单词,指出错误。-lexical analysis procedure is a lexical analysis procedures can be analyzed word that mistake.
编译词法语法
- PL/0语言的词法分析,主要是将每个词识别并且读入-PL / 0 language lexical analysis, mainly to identify each word and read
课程设计(编译器终结版)
- 一个词法语法分析器,用c++实现,词法和语法分析-a syntax analyzer, using c realized, morphology and syntax analysis
词法语法分析
- 一个经典的词法语法分析程序的源代码,从词法分析入口其词法分析出口为语法分析入口-a classic syntax analysis of a program's source code, imported from the lexical analysis of its lexical analysis exports syntax analysis entrance
词法分析最终定稿
- C写的词法分析器,能实现简单的文件查找, 如果表达式正确,则会在结果框中显示“正确”,否则会显示存在语法错误.这是我第一次上传如果大家发现有错误的文法没有报错,或者正确的文法却报错了,可以向我反映-C wrote lexical analyzer, able to find a simple document, if correct expression will be shown in the results box "correct", as it showed the
递归下降分析器
- 目的】 使用递归子程序法设计一个语法分析程序,理解自顶向下分析方法的原理,掌握手工编写语法分析程序的方法。 【要求】 1、使用递归下降分析算法分析表达式文法: exp ::= exp addop term | term addop ::= + | - term ::= term mulop factor | factor mulop ::= * | / factor ::= (exp) | number 其中number可以是多位的十进制数字串(整数即可),因此这里还需要一个小的词法分析器来得到
compiler.rar
- decaf.jar 是将类java的decaf语言编译成tac码(Three address code,类似汇编指令)的编译器。 包含了前端的词法和语法分析、语义分析,中间代码的生成。是我最近写完的编译课的一个作业。 例子: 1. 调用 java -jar decaf.jar -l 2 blackjack.decaf > blackjack.tac 生成 *.tac 文件 2. 然后,调用 java -jar tac.jar blackjack.tac
CMINUS.rar
- 一个c-编译器的词法和语法分析部分,采用词法分析的手动部分使用表驱动实现,语法分析使用LL(1)实现。,a c minus compiler
main.rar
- 很好的集合词法、语法、语义分析的源码!具有完整的注释!,Very good collection of lexical semantic analysis of the source grammar!
flex++-2.3.8-7.tar.Z
- 生成C++的词法/语法分析的Flex语法分析器 ,Flex syntactic and phrase parser which can produce C++ code
PL0_Compiler_LR(1).rar
- 这是一个功能强大的编译器,有词法,语法,语义分析,并有着良好的人机交换界面。,This is a powerful compiler, there are lexical, syntax, semantic analysis, and have a good exchange of man-machine interface.
bianyikcsj.rar
- 我的编译原理课程设计,有界面,包括词法分析、语法语义分析、目标代码生成,功能强大,My principles of curriculum design, compilation, there are interfaces, including lexical analysis, grammar, semantic analysis, target code generation, powerful
StarterFiles
- 基于lex和yacc实现的编译原理词法分析、语法分析。-Implemented based on lex and yacc compiler theory of lexical analysis, syntax analysis.
kechengsheji
- 编译原理课程设计(包括语法分析,词法分析,语义分析及设计报告)-Compiler design principles of curriculum (including syntax analysis, lexical analysis, semantic analysis and design report)
LR(0)
- 这个是java语言实现的lr0词法语法分析器,用于实现编译语言的语法部分-This is the java language to achieve lr0 lexical parser, syntax of the language used to implement part of the compiled
JCompiler
- 用java做的编译原理课的词法 语法分析器 eclipse-Lexical parser eclipse
bianyikssybg
- 编译原理课程设计实验报告,里边有两份报告,词法分析、语法分析、语义分析、目标代码生成-Principles of curriculum design experiments to compile reports, inside there are two reports, lexical analysis, syntax analysis, semantic analysis, target code generation
ANSI+C+grammar
- C语言编译器的Lex及Yacc词法及语法分析规则源码-C language compiler Lex and Yacc analysis of lexical and grammatical rules of source
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