TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Yacc is dead: An update

93 pointsby Autreover 14 years ago

5 comments

dashtover 14 years ago
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.
jorgeortiz85over 14 years ago
<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 未加载
hsmyersover 14 years ago
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 未加载
silentbicycleover 14 years ago
Discussion for the previous post: <a href="http://news.ycombinator.com/item?id=1948048" rel="nofollow">http://news.ycombinator.com/item?id=1948048</a>
erikbover 14 years ago
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 未加载