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.

Introduction to Compilers and Language Design (2021)

293 pointsby fcambusabout 3 years ago

5 comments

nhatcherabout 3 years ago
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 未加载
isaacfrondabout 3 years ago
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 未加载
emoIIabout 3 years ago
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 未加载
ModernMechabout 3 years ago
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_about 3 years ago
when clicking the link, first though was &quot;introduction to web-design&quot; ^_^ looks interesting though. Thanks.
评论 #31420853 未加载
评论 #31420703 未加载