编译原理 技术与工具

美.阿霍

出版时间

2002-01-31

ISBN

9787115099167

评分

★★★★★

标签

计算机

书籍介绍
作为编译原理领域的权威教材,本书最引人入胜之处,在于作者如何将纷繁复杂的真实工程问题,抽象为优雅的数学模型。书中反复呈现一种
AI导读
核心看点
  • 编译原理领域公认的经典教材,俗称龙书
  • 系统讲解编译器设计与实现的核心技术
  • 涵盖词法、语法分析及代码优化等全流程
读者共识
  • 内容权威且全面,但阅读难度极大
  • 适合系统学习原理,不适合快速上手
  • 尽管翻译不佳,仍是该领域的必读经典
精彩摘录
  • "在C++中,一个类的定义可能和它的部分或全部方法的定义分离。因此对于一个和类C相关联的名字x,可能存在一个在它作用域之外的代码区域,然后又跟着一个在它作用域内的代码区域(一个方法定义)。实际上,在这个作用域之内和之外的代码区域可能相互交替,直到所有的方法都被定义完毕。"
  • "In C++, a class definition may be separated from the definitions of some or all of its methods. Therefore, a name x associated with the class C may have a region of the code that is outside its scope, followed by another region (a method definition) that is within its scope. In fact, regions inside "
  • "标识符 a 是一个代表了表达式 (x + 1) 的宏。但 x 到底是什么呢?我们不能够静态地解释 x 。"
  • "Compiler design is full of beautiful examples where complicated real-world problems are solved by abstracting the essence of the problem mathematically. The study of compilers is mainly a study of how we design the right mathematical models and chose the right algorithms, while balacing the eed for "
  • "我们的目标是:以构造出来的分析树所产生的字符串与输入字符串匹配的方法构造分析树的其余部分。"
  • "The object is to construct the remainder of the parse tree in such a way that the string generated by the parse tree matches the input string."
  • "发现错误即停止运行的编译器不是一个好的编译器"
  • "The use of a rigorous mathematical foundation allows us to show that an optimization is correct and that it produces the desirable effect for all possible inputs."
用户评论
囫囵吞枣
一天屠编译!
教材
彪悍的龙书,不需要注释。
教材 我考了90分~
终于翻完了,也没搞懂多少。需要时再看吧。
语言丝般顺滑。导读一章非常棒,很好地概括了编译器前端的关键知识点。从语法分析之后改看第三版。
学习编译原理的经典书籍。中文版翻译不佳,两种语言之间的细微差别导致的“看不懂”的直译问题没有解决好。
本科的编译原理教材
下载
收藏