搜索资源列表
compiler([1].netstl)
- (1) 给定一段符合Pascal子集语法的语言,能成功转换成C语言; (2) 一个简单的说明文档; (3) 2007.7.14之前上传到ftp:// C07:C07@10.11.3.71/upload,用学号建立自己的目录; (4) (可额外加分5分)若有出错处理功能,请在说明文档中写明可以处理哪几项错误。 注意事项: (1) 两人一组 (2) 可以使用词法、语法自动生成工具,windows下有Flex,Bison,Linux下有Lex,Yacc,Java的有Jlex,J
ANSI+C+grammar
- C语言编译器的Lex及Yacc词法及语法分析规则源码-C language compiler Lex and Yacc analysis of lexical and grammatical rules of source
Oreilly-LexandYacc2ed
- Flex & Yacc,一套词法解析和分析的工具,来源于Unix,现已经在多个平台上有移值,这是Oreilly公司出的关于此工具的教程,用djvu阅读器打开即可。-Flex
YAM_Project
- 仿MATLAB计算软件本软件是一款科学计算平台,支持MATLAB的大多数语法,但尚不支持外部函数调用和复杂的数据结构。本软件可供广大师生进行基本的学习和教学工作,对科研人员也有所帮助。“YAM”意为“Yet Another Matlab”。本套软件包含如下程序: YAM.exe 软件主程序,用于输入和输出指令 compiler.exe 用于进行源代码编译并生成中间代码 interpreter.exe 用于解释中间代码并生成最终结果 Figure.exe 用于绘制图形
LexAndYacc
- Lex and Yacc 中文版 第二版 已经绝版 学习lex/yacc绝佳资料-Lex and Yacc ebook chinese version
Flex
- 生成此法分析器的东西,很不错。里面含有bison ya-This method generates Analyzer things is pretty good. Which contain bison yacc
lexandyacc
- 很好的lex and yacc自学资料,清晰版-Good lex and yacc self-study data, a clear version of
TINY_Compiler
- TINY C编译器源码,用于参考学习编译原理(词法分析、语法分析、语义分析等)和LEX/YACC(不是FLEX/BISON)-TINY C compiler source code, compiled for the reference to learning theory (lexical analysis, syntax analysis, semantic analysis, etc.) and LEX/YACC (not FLEX/BISON)
example
- 基于flex&bison(yacc)的四则运算器的例子,附带mylex.l与myyacc.y,文件输入在exprTest.txt中进行-Based on the flex&bison (yacc) four examples of logic, and with mylex. L and myyacc. Y, file input in exprTest. TXT
c--
- flex中使用的C--词法分析器源代码,可以用于yacc中-used in flex C- lexical analyzer source code can be used in yacc
Gbpfff
- TCP Compilation Principle practice, including detailed documentation, flex & yacc to achieve: the preparation of a micro-language compiler, and its function is to scan through the lexical, syntax scan, semantic processing, completion of the source of
calculator_yacc
- 使用yacc+flex实现科学计算器 包括括号,取反等。 带有寄存器 开发环境为ubuntu+yacc+flex+gcc 附有实验报告可以参考-Use of yacc+ flex to scientific calculators, including brackets, inverted and so on. Register with the development environment for ubuntu+ yacc+ flex+ gcc with a test rep
Compiling-exp
- 利用flex和yacc编写的c语言编译器,可以检查语法错误、语义错误,并且能够生成可执行的汇编代码-Written using flex and yacc c language compiler can check for syntax errors, semantic errors, and can produce an executable assembly code
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
lc
- 引用原作者:这个类C编译器是我在2008年写的,完成度并不高,并没有实现指针、struct这些,不过还是实现了基本的C语言数据类型(int/char/long/short等),函数的声明、定义、调用、递归,if/for/while/goto等跳转,详细请看sample和source。 为了节省开发的时间,词法和语法分析分别采用lex和yacc编写,可以用Cygwin里面的flex和bison进行编译。另外我觉得编译成x86的bytecode比较麻烦,所以定义了一套自己的bytecode
mean
- 用lex 和yacc 实现 语义分析,用bison .y flex .l G++ 编译 .c文件-LEX YACC
compiler
- yacc和flex实现生成smallC parser tr-use yacc and flex to generate the parser tree for smallC
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
flex&yacc
- 实现编译原理实验的词法分析和语法分析,最终生成产生式。(The lexical analysis and grammatical analysis of the compiling principle experiment are finally generated.)
