《编译原理 技术与工具》章节试读

当前位置:首页 > 计算机网络 > 征订教材 > 编译原理 技术与工具章节试读

出版社:人民邮电出版社
出版日期:2002-2
ISBN:9787115099167
作者:美.阿霍
页数:795页

《编译原理 技术与工具》的笔记-第740页 - 12.5 The Bliss/11 Compiler

The compiler is worth our attention for several reasons. Its optimization performance is strong, and it performs a number of transformations found almost nowhere else. Further, it pioneered the "syntax-directed" approach to optimization, as discussed in Section 10.5. That is, the language Bliss was designed to produce only reducible flow graphs (it has no goto's). Thus, it was possible for data flow analysis to be performed on the parse tree directly, rather than on a flow graph.
所以直接在AST(甚至parse tree)上做数据流分析的做法其实在70年代就已经有了,以前都没仔细留意到这点。

《编译原理 技术与工具》的笔记-第741页 - 12.5 The Bliss/11 Compiler

Conditional expressions are evaluated either numerically or by control flow, as discussed in Section 8.4, and DELAY decides which mode is cheaper in each instance.
喔喔原来以前就有编译器是可以选择到底用数值运算还是用控制流来实现条件表达式…
Bliss真是超前于时代啊


 编译原理 技术与工具下载 更多精彩书评


 

农业基础科学,时尚,美术/书法,绘画,软件工程/开发项目管理,研究生/本专科,爱情/情感,动漫学堂PDF下载,。 PDF下载网 

PDF下载网 @ 2024