搜索资源列表
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
Oreilly-LexandYacc2ed
- Flex & Yacc,一套词法解析和分析的工具,来源于Unix,现已经在多个平台上有移值,这是Oreilly公司出的关于此工具的教程,用djvu阅读器打开即可。-Flex
LexAndYacc
- Lex and Yacc 中文版 第二版 已经绝版 学习lex/yacc绝佳资料-Lex and Yacc ebook chinese version
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)
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
