编译原理 - Alfred V.Aho, Jeffrey D.Ullman, Ravi Sethi

编译原理

Alfred V.Aho, Jeffrey D.Ullman, Ravi Sethi

出版时间

2003-08-01

ISBN

9787111123491

评分

★★★★★
书籍介绍
《编译原理》作者Alfred V.Aho、Ravi Sethi和Jeffrey D.Ullman是世界著名的计算机 科学家,他们在计算机科学理论、数据库等很多领域都做出了杰出贡献。《编译原理》 是编译领域无可替代的经典著作,被广大计算机专业人士誉为“龙书”。《编译原理》一 直被世界各地的著名高等院校和科研机构(如贝尔实验室、哥伦比亚大学、普 林斯顿大学和斯坦福大学等)广泛用作本科生和研究生编译原理与技术课程的 教材,《编译原理》对我国计算机教育界也具有重大影响。 书中深入讨论了编译器设计的重要主题,包括词法分析、语法分析、语法制 导分析、类型检查、运行环境、中间代码生成、代码生成、代码优化等,并在 最后两章中讨论了实现编译器的一些编程问题和几个编译器实例,而且每章都 提供了大量的练习和参考文献。
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."
Z-Library
收藏