This new, expanded textbook describes all phases of a modern compiler: lexical analysis, parsing, abstract syntax, semantic actions, intermediate representations, instruction selection via tree matching, dataflow analysis, graph-coloring register allocation, and runtime systems. It includes good coverage of current techniques in code generation and register allocation, as well as functional and object-oriented languages, that are missing from most books. In addition, more advanced chapters are now included so that it can be used as the basis for a two-semester or graduate course. The most accepted and successful techniques are described in a concise way, rather than as an exhaustive catalog of every possible variant. Detailed descriptions of the interfaces between modules of a compiler are illustrated with actual C header files. The first part of the book, Fundamentals of Compilation, is suitable for a one-semester first course in compiler design. The second part, Advanced Topics, which includes the advanced chapters, covers the compilation of object-oriented and functional languages, garbage collection, loop optimizations, SSA form, loop scheduling, and optimization for cache-memory hierarchies.
本书和龙书都全篇阅读完过,与龙书相比相差太远,这是一本编译方面的入门书,但你最好别信,你需要懂编译方面的原理,因为这本书偏重实践,很多地方原理不讲或者简单地一笔带过,点到即止,没看过龙书,你甚至不知道它在讲什么。
评分正在读,刚跟着它的实践练习做到第四章。这本书确实讲的简略,重在实践。前端部分个人觉得《编译原理与实践》讲的最通俗易懂,可以先熟悉那部分再看这本书估计就能跟着练习走了。 p.s. 书中的代码只是个示范,可能要做些改动才能运行
评分翻了这么多本书,这是我看过的唯一一本讲具体怎么构建一个编译器的书。同时这本书所构建的编译器就像作者说的那样,简单但是并不平庸,拥有很多挺先进的特性。也能算是一个优化编译器。 但是要跟着这本书做下来还是有一定难度的,需要扎实的C语言功底。
评分Reading now. Anyone who want to communicate the problems, just mail to me.
评分http://gc-daniel-0318.spaces.live.com/blog/cns!B6826F6CF83C99E!5031.entry 随手写几个,一是推荐几本书,二是交流一下学习体会 首先是编程语言,这个东西是最没必要挑书的。刚入门的时候找本简单点的,能马上上手的,最好比较薄——也就是比较便宜——的书看看,比方工具...
从前端到后端,都有讲到,有些章节还是看不太懂。哈哈
评分从前端到后端,都有讲到,有些章节还是看不太懂。哈哈
评分This is a java book in disguise...
评分老板的老板的大作。。。真心挺好的。。适合在龙书读过之后来读
评分This is a java book in disguise...
本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度,google,bing,sogou 等
© 2025 qciss.net All Rights Reserved. 小哈图书下载中心 版权所有