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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Introduction to Compilers and Language Design (2021)

293 点作者 fcambus大约 3 年前

5 条评论

nhatcher大约 3 年前
Oh wow! Great resource. I think it strikes the right balance between lexing&#x2F;parsing vs code generation&#x2F;optimization.<p>I see that not even in modern books things like PEG parser or Pratt parsing make the cut. Which is a pity IMHO. As an aside I am yet to find a great book&#x2F;resource of garbage collectors that I can understand. It is such a fascinating subject!<p>If you want to dive into compiler&#x2F;interpreters but do not want to go straight into the computer science of it I wholeheartedly recommend:<p><a href="https:&#x2F;&#x2F;compilerbook.com" rel="nofollow">https:&#x2F;&#x2F;compilerbook.com</a> and <a href="https:&#x2F;&#x2F;interpreterbook.com" rel="nofollow">https:&#x2F;&#x2F;interpreterbook.com</a><p>And, of course, the incomparable book by Robert Nystrom &quot;Crafting Interpreters&quot;&quot;<p><a href="https:&#x2F;&#x2F;craftinginterpreters.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;craftinginterpreters.com&#x2F;</a>
评论 #31420906 未加载
isaacfrond大约 3 年前
Great initiative. More professors should do this; write your own material suitable to teach a course, and make it freely available.<p>What I also like is that if you find errata, you have a place to send them, with a reasonable expectation that they will be picked up in a new version.
评论 #31420464 未加载
emoII大约 3 年前
Out of curiosty, could anyone explain to me the reason they think programming languages and the parts that combine into making them work are interesting?<p>I feel like I have an interest in it, but I&#x27;m having a hard time figuring out _why_ I find it so appealing. I know the why doesn&#x27;t matter as long as I enjoy it, but I&#x27;m curious what others think.
评论 #31426079 未加载
评论 #31428112 未加载
评论 #31424275 未加载
评论 #31425514 未加载
评论 #31425402 未加载
ModernMech大约 3 年前
I’ll be bookmarking this for use in the future. I teach a programming languages course so I’ve looked at a number of these texts, and this seems like a good new one but I have to say I don’t see much that differentiates it from other recent texts out there. It seems well written and organized, but what’s new?<p>I would say the best part about this book is the author made it freely available. But if I had to choose a newish compilers book I’d choose Crafting Interpreters, which is also available for free.<p>One thing that I don’t like so much is the word “design” in the title, as there’s really not much content in the book on how to design a language; most of it is devoted to implementing an already designed language. I’m not sure anyone who learns from this book would be able to design a language unlike C.
评论 #31426832 未加载
ki_大约 3 年前
when clicking the link, first though was &quot;introduction to web-design&quot; ^_^ looks interesting though. Thanks.
评论 #31420853 未加载
评论 #31420703 未加载