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.

Crafting Interpreters – Web Version

176 pointsby Thursday24over 3 years ago

13 comments

e67f70028a46fbaover 3 years ago
This is a book that, if you can afford it, should be bought on general principle. There are very few books that show how recursive descent works and this one is incredibly well done.<p>The fact he gives it away for free is amazing.
评论 #30334844 未加载
评论 #30334904 未加载
评论 #30334977 未加载
Derbastiover 3 years ago
This book was absolutely amazing! It is astonishingly well-written, almost actually exciting to read at times, and chock full of fascinating insights and anecdotes. Oh, and its main text was really useful as well, uncovering so many programming language behaviors I had seen many times before, but never figured out why things were as they are.<p>Truly, I can&#x27;t recommend this book enough, if the topic is at all interesting to you!<p>(And follow it up with Code, by Charles Petzold, to see how a processor works, and Operating Systems, Three Easy Pieces by Arpaci-Dusseau for how OSs work)
asicspover 3 years ago
Wow, that&#x27;s a wonderful gesture from the author. I haven&#x27;t read it yet, but I&#x27;ve seen so many great reviews on HN and other social media sites.<p>Here&#x27;s some of the past discussions:<p>* <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=27997167" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=27997167</a> <i>(6 months ago | 118 comments)</i><p>* <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=22788738" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=22788738</a> <i>(2 years ago | 74 comments)</i><p>* <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=13406081" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=13406081</a> <i>(5 years ago | 75 comments)</i>
vishnuguptaover 3 years ago
Related. The author&#x27;s love for their craft <i>oozes</i> through their work. If I&#x27;m not wrong every single illustration in the book is <i>hand-drawn</i>; like literally. Take a look: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=iN1MsCXkPSA" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=iN1MsCXkPSA</a>
评论 #30338151 未加载
j_ham3over 3 years ago
It&#x27;s a great book! I really liked how it guides step-by-step, always having something working building up to the full interpreter for Lox. I haven&#x27;t yet gotten around to the 2nd part of the book (the C based interpreter&#x2F;vm) because I got carried away with adding extra features to my Kotlin Lox implementation (including a JVM backend)! <a href="https:&#x2F;&#x2F;github.com&#x2F;mrjameshamilton&#x2F;klox" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mrjameshamilton&#x2F;klox</a>
orthoxeroxover 3 years ago
We&#x27;re waiting for Crafting Typecheckers, Bob!
Thursday24over 3 years ago
Robert Nystrom has generously made the entirety of his &quot;Crafting Interpreters&quot; available for free.
评论 #30334034 未加载
frakt0x90over 3 years ago
Chelsea Troy, a Staff Engineer at Mozilla, keeps a blog where a lot of her posts work through various aspects of this book. I&#x27;ve really enjoyed reading them.<p><a href="https:&#x2F;&#x2F;chelseatroy.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;chelseatroy.com&#x2F;</a>
tluyben2over 3 years ago
Well worth paying for it as pdf or book by the way.
agumonkeyover 3 years ago
The layout and typography is frankly superb.
m00dyover 3 years ago
I will read this book some day. It is always in my mind but, I&#x27;m too busy these days.
poushkarover 3 years ago
I only started reading it, but I absolutely love the author&#x27;s style! I wish I could write this well...
endorphineover 3 years ago
I was so excited for this, then I realized it uses C (which I&#x27;m not familiar with).
评论 #30334798 未加载
评论 #30334787 未加载
评论 #30338228 未加载
评论 #30336954 未加载
评论 #30334778 未加载