文件名称:cminus
- 所属分类:
- 编译器/词法分析
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2014-12-27
- 文件大小:
- 72kb
- 下载次数:
- 0次
- 提 供 者:
- 棚*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
简化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 fr a mework, omitting intermediate code generation and code optimization, directly generate assembly code to achieve a while statements, such as the translation of the addition operator.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
cminus\Visual Studio Projects
......\......................\cminus
......\......................\......\cminus.vcproj
......\......................\......\tmp.asm
......\......................\......\cminus.ncb
......\......................\......\cminus.sln
......\......................\......\cminus.suo
......\......................\......\symbol.cpp
......\......................\......\symbol.h
......\......................\......\parser.cpp
......\......................\......\lexer.h
......\......................\......\lexer.cpp
......\......................\......\parser.h
......\......................\......\tmp.c
......\......................\......\common.h
......\......................\......\tree.h
......\......................\......\tree.cpp
......\......................\......\Debug
......\Yacc Projects
......\.............\cminus
......\.............\......\cminus.pgp
......\.............\......\lexer.l
......\.............\......\parser.y
......\.............\......\lexer.h
......\.............\......\lexer.cpp
......\.............\......\lexer.v
......\.............\......\parser.h
......\.............\......\parser.cpp
......\.............\......\parser.v
......\.............\......\cminus.pgw
......\简化C编译器程序示例.doc
cminus
tmp.asm
tmp1.c