搜索资源列表
lexical_analysis
- 一个词法分析程序,对给出的程序段进行词法分析,输出以文件形式存放的TOKEN串和符号表。-Compiler theory lexical analysis program
lc
- 引用原作者:这个类C编译器是我在2008年写的,完成度并不高,并没有实现指针、struct这些,不过还是实现了基本的C语言数据类型(int/char/long/short等),函数的声明、定义、调用、递归,if/for/while/goto等跳转,详细请看sample和source。 为了节省开发的时间,词法和语法分析分别采用lex和yacc编写,可以用Cygwin里面的flex和bison进行编译。另外我觉得编译成x86的bytecode比较麻烦,所以定义了一套自己的bytecode
CMMoYi_C010
- C0编译器,实现词法分析、语法分析、输出运行栈、输出符号表表、错误处理,实现到生成PCode。,已通过测试。 -C0 compiler, lexical analysis, syntax analysis, the output of run-time stack, the output symbol table, error processing, to generate PCode. , Has been tested.
TCCompileri
- 本设计Tiger语言为源语言,制作了编译程序的前端部分,主要包括了词法分析、语法分析析、抽象语法树和类型检查的设计和实现方法,和课程设计中碰到的问题、实验心得、参考数据等。 -Tiger of the design language for the source language, produced a front-end part of the compiler, including lexical analysis, parsing analysis, design and implem
tThemiddlegenh
- 这是编译原理的源代码,涉及了编译原理的各个过程:词法分析,LL1语法分析,语义分析,中间代码生成,中间代码优化(常表达式优化,公共表达式优化,循环不变式优化),中间代码生成目标代码,目标代码的解释执行行行,详细地阐述了一个编译器的设计与实现。它是大纲教学,课程设计良好的示范,也是编程与开发爱好者提高的好参考,其中这是中间代码生成部分。-This is the source code of the compiler theory, involving the various compiler th
AcompilerWithc
- 用java实现的编译器.包括语法分析,词法分析,生生成目标代码等,代码很简单,本人已经测试过,很完美. -Realized with java compiler, including the syntax analysis, lexical analysis, students generate object code, the code is very simple, I' ve tested, is perfect.
scmd_SNL_C_con
- snl语言是一个简单的具有嵌套过程定义的过程式语言,本原码用C语言实现了SNL语言的词法分析,语法分析,语义分析析,中间代码生成,中间代码优化,目标代码优化的完整模块,并有极为详细的注释,是学习编译原理的极佳材料。-the snl language is a simple process language with nested process definition, the primitive code in C language SNL language lexical analysis,
BLexa
- 基于C++的编译器词法分析模块生成器[Lex],可使用Visual C++ 2003编译,分析词法定义文件件,产生确定自动机[DFA]和对应词法的分析代码,使用此代码可解析C++源码并生成TOKEN序列 -Lexical analysis module based on the C++ the compiler to generate device [Lex], can be compiled using the Visual C++ 2003, analysis of lexical d
cafafenxi
- 词法分析器的实现,可以自动打开文件,编译课程的小作业-The lexical analyzer to achieve, you can automatically open the file, the compiler course job
compile
- 本人编写的编译原理的相关代码,使用VC6.0,实现了赋值语句。内部有四个工程,分别为:1.建成单词表,词法分析。2.字符优先处理。3.算符优先处理。4.算符优先—三地址。-I write compiler theory code, VC6.0, the assignment statement. Within four projects, namely: 1. Built word list, lexical analysis. 2. Character priority. 3 Operator
CIFA
- 词法分析,编译原理词法分析程序,欢迎下载,有问题请留言,我会解答-Lexical analysis, compiler theory lexical analysis program, are welcome to download, have questions, please message, I will answer
c0_compiler
- 本编译器为扩充C0文法编译器,包含词法分析、语法分析、语义分析、四元式程序设计、符号表管理、错误处理、动态运行栈设计及优化程序设计-C0 as the expansion of the grammar compiler compilers, including lexical analysis, syntax analysis, semantic analysis, four-style programming, symbol table management, error handling,
c1233456efasdo
- 编译原理的源代码,涉及了编译原理的各个过程:词法分析,LL1语法分析,语义分析,中间代码生成,中间代码优化(常表达式优化,公共表达式优化,循环不变式优化),中间代码生成目标代码,目标代码的解释执行行,详详细地阐述了一个编译器的设计与实现。它是大纲教学,课程设计良好的示范,也是编程与开发爱好者提高的好参考,其中这是语义分析部分。希望尽早的开通我的帐号,与大家多多交流,成为热爱编程与开发的好朋友 -Compile the source code of the principle of invol
bianyishiyan
- 编译原理实验,包括词法分析,语法分析,语义分析及中间代码生成,还有实验报告。很完全-Compiler principle experiment, including lexical analysis, parsing, semantic analysis and intermediate code generation, as well as experimental report. It is completely
LL1-cifa
- 这是编译原理中的一种算法,LL1词法分析算法,该算法可以用于特定规则的输入串匹配,个别的学校会将其作为相应课程设计的一部分。-This algorithm is a compiler theory the LL1 lexical analysis algorithm, the algorithm can be used for a specific rule input string matching, individual schools will be as part of the appr
lexical_analysis_program
- 编译原理、词法分析程序。 题目:词法分析程序的设计和实现 实验内容:设计并实现C语言的词法分析程序,要求如下。 (1)可以识别出用C语言编写的源程序中的每个单词符号,并以记号的形式输出每个单词符号。 (2)可以识别并读取源程序中的注释。 (3)可以统计源程序中的语句行数、单词个数和字符个数,其中标点和空格不计算为单词,并输出统计结果。 (4)检查源程序存在的错误,并可以报告错误所在的行列位置。 (5)发现源程序中存在错误后,进行适当的恢复,使词法分析可以继续进行,通过
byyl
- 编译原理词法分析切词算法 数据库得到的是预存的关键字,运算符-Compiler theory lexical analysis cut the word algorithm database is stored keywords and operators
cifafenxi
- 编译原理 以PL/0基础上 改写词法分析程序-Compiler theory lexical analysis program rewritten on the basis of the PL/0
stdafx
- 编译原理作业,词法分析程序;C源代码实现,附数据-Compiler theory job, lexical analysis program C source code to achieve with data
yao
- 编译原理课程大作业,词法分析、语法分析、语义分析都包括-Compiler theory courses job, lexical analysis, parsing, semantic analysis, including