TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Yacc is dead: An update

93 点作者 Autre超过 14 年前

5 条评论

dasht超过 14 年前
People should please take away from this paper the central claim that they are offering up a fun, easy, and startlingly practical way to implement a parsing library in your favorite language / environment. It is but a few hundred lines in some functional languages. Scarcely importantly more in other languages. It is (per their plausible claims) a nice alternative to trying to muck up some dubious approximation using your regexp engine.<p>The "YACC is dead" claim of the original paper, and of this follow-up, is not so much "this is so good, everyone will stop using YACC". Rather, its that people don't use YACC when they ought to because it is inconvenient -- but this derivative-based parsing hack is convenient in important ways that YACC fails to be.
jorgeortiz85超过 14 年前
<p><pre><code> Over the past year, even in the little time we've had to work on the paper, we've learned a lot more about parsing with derivatives. In the week after the community found it, you all taught us ten times more than that. Thank you! </code></pre> Why isn't all computer science research done like this?
评论 #2002687 未加载
hsmyers超过 14 年前
Claim strikes me as a bit premature given the amount of Yacc based code there is in the world busy producing away day in and day out. If the algorithm is what it is said to be and I've no reason to doubt that, then at some point we will all be blessed with a Yacc replacement. Since I've always found Yacc to be a PIA, I certainly won't miss the old regime, but since there is nothing to use at the moment, I'm going to hold off a bit...
评论 #2002710 未加载
评论 #2002657 未加载
silentbicycle超过 14 年前
Discussion for the previous post: <a href="http://news.ycombinator.com/item?id=1948048" rel="nofollow">http://news.ycombinator.com/item?id=1948048</a>
erikb超过 14 年前
I nearly don't understand anything of this. It sounds cool, though.There is so much math and lisp...<p>But I want to learn and if possible even help. What do I have to learn to understand this and maybe implement it in my own languages?
评论 #2002686 未加载
评论 #2002487 未加载
评论 #2002412 未加载