搜索资源列表
LexaYacc_ChineseEdition2
- 《Lex与Yacc》中文第二版 Lex 和 Yacc 是 UNIX 两个非常重要的、功能强大的工具。事实上,如果你熟练掌握 Lex 和 Yacc 的话,它们的强大功能使创建 FORTRAN 和 C 的编译器如同儿戏。Ashish Bansal 为您详细的讨论了编写自己的语言和编译器所用到的这两种工具,包括常规表达式、声明、匹配模式、变量、Yacc 语法和解析器代码。最后,他解释了怎样把 Lex 和 Yacc 结合起来。-" Lex and Yacc" Chinese Second Edit
par
- 这是编译原理的源代码,涉及到了编译原理的词法分析,语法分析。本实验采用flex和bison工具,编写了一个lex程序和一个yacc程序,实现的功能是对源程序进行词法分析和语法分析,并输出语法分析的过程。-This is source code of principles of Compilers, involving lexical analysis, syntax analysis in principles of Compilers. This experiment used flex an
compil
- un compilateur à l’aide des outils Lex et Yacc pour un sous ensemble du langage C, le spC et de générer un code à trois adresses proche du langage assembleur, le 3aC.
lexical-analyzer-program
- 编译原理词法分析器程序,利用词法分析自动构造工具LEX构造一个识别C语言的词法分析程序-Compiler theory lexical analyzer program, the use of the lexical analysis of the automatic construction tools LEX to construct a lexical analysis to identify the C language program
lc
- 引用原作者:这个类C编译器是我在2008年写的,完成度并不高,并没有实现指针、struct这些,不过还是实现了基本的C语言数据类型(int/char/long/short等),函数的声明、定义、调用、递归,if/for/while/goto等跳转,详细请看sample和source。 为了节省开发的时间,词法和语法分析分别采用lex和yacc编写,可以用Cygwin里面的flex和bison进行编译。另外我觉得编译成x86的bytecode比较麻烦,所以定义了一套自己的bytecode
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
compiler
- C compiler implementation using lex-yacc. LEX- YACC are tool used for parsing the tokens. Then, grammar is used for checking the syntax. Symbol table , dataTable enteries are made.
mean
- 用lex 和yacc 实现 语义分析,用bison .y flex .l G++ 编译 .c文件-LEX YACC
compiler
- 编译器yacc 和lex 的c++实现, 非图形界面,用于编译原理的课程实践-compiler with yacc and lex using c++
project3
- 基于Lex实现的C-词法分析器,编译原理课程设计-Lex achieve a C-based lexical analyzer, compiler theory of curriculum design
286
- lex,yacc的c编译器,有语法树、代码生成等-c compiler based on yacc and lex,code generated
pcc-0.9.9
- 一个早期的标准c编译器,用yacc、lex,生成汇编代码-A c compiler,maked by yacc and lex
xcc01
- 纯c++实现的编译器/解释器,没有使用yacc lex等分析工具。希望对开发者有所帮助。-Pure c++ achieve compiler/interpreter, not using yacc lex and other analysis tools. I hope to help developers.
NKU_compliers
- NKu编译原理代码,可供借鉴,欢迎指正,包括yacc和lex使用,词法分析,语法分析,小型C编译器-the compliers homework of Nankai University,include complier of tiny C
smallccompiler
- 一个简易的c编译器(smallC,包含C的一些基础功能),用lex和yacc辅助-a simple smallC compiler, use lex and yacc
msh
- 自己编写的shell 解释器,包括myshell.c parse.lex he makefile三个文件可以实现列表,管道,重定向,内外部命令-I have written a shell interpreter, including three myshell.c parse.lex he makefile file list can be achieved, pipes, redirection, internal and external commands, etc.
cminus
- 简化C编译器的程序示例,该程序采取了最简单的实现方法,用lex&yacc工具的辅助,实现一个C编译器的框架,省略了中间代码生成部分和代码优化,直接生成汇编代码,实现了while语句、加法运算符等的翻译。-Simplified C compiler program example, the program has taken the simplest implementation, auxiliary lex & yacc tools to implement a C compiler f
cx
- 用yacc和lex结合c语言实现的某语言编译器-With yacc and lex in combination with the c language implementation of a language compiler
Y
- 采用flex工具进行词法分析并结合yacc工具进行语法分析生成文法编译器 进行了完整的词法、语法分析 初始源文件4个:19210216.l,19210216.y,code.h,table.h, 运行过程: 先写出词法分析*.l文件和语法分析*.y文件。 然后运行CMD,进入DOS下,将目录切换到flex和bison及源码所在目录 1、flex 19210216.l 生成lex.yy.c 2、bison -d 19210216.y 生成1921
r4-master
- YACC LEX 编译器代码 用于简单的C 语言编译和解释执行