龙书的哪一部分过时了? [英] Which part of the dragon book is outdated?

查看:99
本文介绍了龙书的哪一部分过时了?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了这篇评论,评论者说:


考虑到多处理器的成功,现在LH解析和
等等,许多旧的Dragon系列已经过时了,现代
编译器设计(MCD)和
Cooper一起可以很好地填补空白。

Given multi processors and the now proven success of LH parsing and much more, much of the old dragon series is out of date and Modern Compiler Design (MCD) is well positioned to fill the void, along with Cooper.

鉴于该评论内容冗长且详尽,我认为他对该主题非常了解。
因此,具体地说,龙书的哪一部分过时了?

Given that the review is very long and detailed, I assume he is knowledgeable about the subject. So specifically, in which part of the dragon book is outdated?

(LH解析是什么?我尝试使用Google谷歌搜索,但找不到任何相关内容。

(What is LH parsing anyway? I tried googling but couldn't find anything relevant. Maybe a typo?)

推荐答案

我已经建立了40多年的解析器和程序分析/转换规则。 Dragon书
确实擅长描述编译的基础知识。没什么理由相信它突然变坏了。

I've been building parser and program analysis/transformation rules for 40+ years. The Dragon book is really good at describing the basics of compiling. There's little reason to believe it has suddenly gotten less good.

关于评论:我从没听说过 LH解析,我想我会一直跟踪的。 (这些天真正好的解析器是 GLR)。如果您的报价准确无误,那我就不会投入太多库存了。 (这是在Springer上试图出售这本书的页面;看起来像是在虚张声势。)

Regarding the review: I've never heard of "LH" parsing, and I think I keep track. (Really good parsers these days are "GLR"). If your quote is accurate, I wouldn't put a lot of stock in it. (This is on the Springer page that is trying to "sell" the book; looks like marketing fluff).

还有其他编译器书籍(是的,包括Torczon / Cooper )的确很不错,而且涉及的内容超出了《龙书》涵盖的范围。但是,补充与替换并不相同。如果您进行任何认真的编译工作,则决定不使用它是愚蠢的。我的解决方案:只需全部购买(如果您要构建编译器,您将很难说服我您没有钱);大多数人都有一些有用的说法,而其他人则没有。即使是复习过的书也可能相当不错。 Dick Grune是其中一位编辑,他确实知道自己的解析能力,并且在编译器的学术领域拥有出色的代表。

There are other compiler books (yes, including Torczon/Cooper) that are really good and go into topics beyond what the Dragon Book covers. But complementing isn't the same as replacing. You'd be foolish to decide not to use it, if you do anything serious in compiling. My solution: just buy them all (if you are building compilers you are going to have a hard time convincing me you don't have the money); most have something useful to say that the other ones don't. Even the reviewed book is likely to be pretty good; Dick Grune is one of the editors, and he reallys knows his parsing stuff, and has a good rep in the academic space on compilers.

如果您坚持只购买一部, 《龙书》还算不错。

If you insist only buying one, the Dragon book is still pretty good.

这篇关于龙书的哪一部分过时了?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆