Description: Its a Lex + Yacc tutorial. Very good for starting to write a compiler. Gives an elaborate example for code generation. Platform: |
Size: 109568 |
Author:hassaan |
Hits:
Description: 简化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 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. Platform: |
Size: 73728 |
Author:棚贺 |
Hits: