This textbook describes all phases of a compiler: lexical analysis, parsing, abstract syntax, semantic actions, intermediate representations, instruction selection via tree matching, dataflow analysis, graph-coloring register allocation, and runtime
A Nanopass Framework for Compiler Education 本文的细节还不太一样重要的一般概念:只不过是一个编译器的一系列转变一个程序的内部表示法。作者用几十或几百个促进编译通过,都是尽可能简单。不要将变换,把二者区分开。该框架中提到的所有权是一种特定的方式输入输出的每一层焊道。这个代码,该计划进行验证,所以数据打印在运行时间。
Allen I. Holub C:本程序集是Allen I. Holub所写的《Compiler Design in C》一书的附随软件,其中有作者自己编写的词法分析和语法分析工具LeX,occs和LLama,该软件包还包括一个显示C语言分析过程的程序。当然也包括这些程序的源代码,详细情况请看作者提供的文档和样板章节。注意本DOS执行文件是一个自解压程序,运行自解压是一定不要忘记加参数“-d”让程序带目录解压。