Description: Simplified C compiler program example, the program has taken the simplest implementation, auxiliary lex & yacc tools to implement a C compiler framework, omitting intermediate code generation and code optimization, directly generate assembly code to achieve a while statements, such as the translation of the addition operator.
To Search:
File list (Check if you may need any files):
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