搜索资源列表
词法分析Lex
- 名称:C语言词法分析器 功能:1)从C语言源代码文件中提取所有词素 2)检测程序的词法错误,给出错误行号及提示 3)语法分析器的预备程序 文件:分析器代码(Lex.c)、测试文件(test.c)、状态转换图、可执行程序 输出:错误记录文件、符号表文件、标识符文件-Name lexical analyzer for C language function: 1)Extract all lexems from C Language source code 2)Examine the sy
词法分析简单程序
- 一个简单的语法分析程序-a simple syntax analysis procedures
Tiny-C
- 小的c编译器包括词法和语法分析-small c compiler including morphology and syntax analysis
简单词法分析
- 大学期间写的一个简单的词法分析器,通过输入符合自定义语法规则的程序,得到分析的二元组-University wrote a simple lexical analyzer through importation from the definition of the rules of grammar procedures, the analysis of binary Group
LL1语法分析
- 这是编译原理的源代码,涉及了编译原理的各个过程:词法分析,LL1语法分析,语义分析,中间代码生成,中间代码优化(常表达式优化,公共表达式优化,循环不变式优化),中间代码生成目标代码,目标代码的解释执行,详细地阐述了一个编译器的设计和实现。它是大纲教学,课程设计良好的示范,也是编程爱好者提高的好参考,其中这是LL1语法分析部分。希望尽早的开通我的帐号,和大家多多交流,成为热爱编程的好朋友。-this principle is to compile the source code, the comp
语义分析
- 这是编译原理的源代码,涉及了编译原理的各个过程:词法分析,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)