Hacker Blogs
Work in progress: 15,409 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #979

T

Thorsten Ball

Personal blog · interpreterbook.com · on HN as misternuggetprogramming

Thorsten Ball writes Writing An Interpreter In Go, a personal blog at interpreterbook.com about programming. Since 2016, 71 different Hacker News readers have linked it 80 times, most often “Writing An Interpreter In Go (2016)”. No feed was found, so read it on the site itself.

No feed foundVisit the blog
80mentions?
71HN people?
2016–2026first – last linked?
Links on Hacker News per year · peak 14 in 2020

This book takes you from 0 lines of code to a fully working interpreter for the Monkey programming language. Step by step. All code shown and included. Fully unit tested.

The author on HN?

misternugget · 931 karma · member since 2013

My name's Thorsten Ball. I'm the author of interpreterbook.com and compilerbook.com. You can find out more about me or my writing at thorstenball.com. Feel free to contact me any time: me @ thorsten ball.com

From their public HN profile, which links to this site.

Most-linked posts?

  1. Writing An Interpreter In Go (2016)
    53 people · 60 mentions · first linked 2016-11-23
  2. Writing an Interpreter in Go (2016)
    18 people · 18 mentions · first linked 2016-12-02

What Hacker News says?

  1. These are great suggestions! A few years ago I worked through building a spreadsheet in JavaScript. It was a great introduction to interpreters. I read through Writing an Interpreter in Go by Thorsten Ball [1]. Constraining the interpreter to execute formulas in cells was a straight-forward way to approach building one from scratch. Writing a Pratt parser as part of this forced me to understand how it works. Figurin…

    Comment linking /

    on “Challenging projects every programmer should try”
  2. Submitted Writing An Interpreter In Go (2016) as a story · 305 points

    HN discussion
  3. https://interpreterbook.com/ https://compilerbook.com/ I <3 these books. They're very well written, and I recommend them every time this question comes up. I also have https://github.com/cweagans/awesome-diy-software , which is similar to the project-based-learning link that you posted.

    Comment linking /

    on “Ask HN: What are some books where the reader learns by building projects?”
  4. Submitted Writing an Interpreter in Go as a story · 12 points

    HN discussion
  5. Thorsten Ball's Writing An Interpreter In Go. A fantastically written technical book that walks through writing an interpreter for a simple programming language. It's test driven and a great introduction to the core concepts. Also a good book to get hands on with idiomatic Go code. https://interpreterbook.com/ Thorsten does a great job talking about the concepts in the book in this Go Time podcast: https://changelog…

    Comment linking /

    on “Ask HN: What are some books where the reader learns by building projects?”
  6. Submitted Writing an Interpreter in Go (2016) as a story · 9 points

    HN discussion
  7. I've been making my way through "Writing an Intepreter in Go" and "Writing a compiler in Go" https://interpreterbook.com/ The Go stuff is really just a means to an end, the real value comes from the practical learnings of how to build a functioning interpreter and compiler (and virtual machine!) for a programming language the author made up called Monkey. It's not a book full of theory but it lays some nice foundati…

    Comment linking /

    on “Ask HN: What are some books where the reader learns by building projects?”
  8. Submitted Writing an Interpreter in Go as a story · 4 points

    HN discussion
  9. I haven't bought or started this yet, but this book on interpreters is on my todo list: https://interpreterbook.com/

    Comment linking /

    on “Ask HN: What are some books where the reader learns by building one project?”
  10. Submitted Writing an Interpreter in Go [Book] as a story · 4 points

    HN discussion
  11. https://interpreterbook.com/ and the sequel https://compilerbook.com/

    Comment linking /

    on “Build Your Own Text Editor”
  12. Submitted Writing an Interpreter in Go as a story · 4 points

    HN discussion
  13. I read this ebook: https://interpreterbook.com/ That walks you through the process of creating a simple language. My version has since been extended a fair bit: https://github.com/skx/monkey The writing is clear, and I was familiar with the broad concepts already. (In the past I've written toy interpreters for FORTH, and similar simple languages, but usually in an adhoc fashion.)

    Comment linking /

    on “Ask HN: What technologies did you learn in 2018?”
  14. Submitted Writing an Interpreter in Go as a story · 3 points

    HN discussion
  15. "Writing An Interpreter In Go"[1] is also pretty good. I read it after finishing crafting interpreters. [1] https://interpreterbook.com/

    Comment linking /

    on “Crafting Interpreters”
  16. Submitted Writing an Interpreter in Go as a story · 3 points

    HN discussion
  17. And a follow-up book about a compiler. https://interpreterbook.com/ https://compilerbook.com/

    Comment linking /

    on “Learn more programming languages, even if you won't use them”
  18. Submitted Writing an Interpreter in Go as a story · 2 points

    HN discussion
  19. Not my project, but Writing An Interpreter in Go is excellent: https://interpreterbook.com/

    Comment linking /

    on “Ask HN: “Write your own” or “Build your own” software projects”
  20. Submitted Writing an Interpreter in Go as a story · 1 points

    HN discussion
  21. I recommend the interpreter book [ https://interpreterbook.com/ ], which isn't entirely free of charge however. On the other hand, it was enough to get me off the ground for my lexer and write a parser that wasn't entirely dumb.

    Comment linking /

    on “Ask HN: “Write your own” or “Build your own” software projects”
  22. Super basic: * https://interpreterbook.com/ * https://compilerbook.com/ Somewhat more practical: * https://www.craftinginterpreters.com/ ... massive gap here ... Serious: * Engineering a Compiler (even this wastes soooo much time on parsing) * Optimizing Compilers for Modern Architectures * Advanced Compiler Design and Implementation I'm not exaggerating or being contrary for the sake of it when I say disregard the…

    Comment linking /

    on “C Compiler from Scratch”
  23. I'm almost done with "Writing an interpreter in Go"[0] which I highly recommend. Even though it's less theoretical than the usual books in this area I learned a ton of practical stuff and a lot of things I "knew" from more theoretical sources make now much more sense. Looking forward to work through the second book of the series [1] which is aimed at compilers. [0]: https://interpreterbook.com/ [1]: https://compiler…

    Comment linking /

    on “A crash course in compilers (2018)”
  24. There's also Thorsten Ball's Writing an Interpreter in Go[1] and Writing a Compiler in Go[2]. [1] https://interpreterbook.com/ [2] https://compilerbook.com/

    Comment linking /

    on “Crafting Interpreters: A Review”
  25. Seems to be a hot topic, a friend and colleague published this in December 2016 and I can thoroughly recommend it (Uses Go as an implementation language): - https://interpreterbook.com

    Comment linking /

    on “Show HN: Crafting Interpreters – A handbook for making programming languages”
  26. Not free but also very good is https://interpreterbook.com/

    Comment linking /

    on “Parsing Algorithms”
  27. If you're just getting comfortable with it (as I am) then something a little lighter weight than a course seems like a reasonable approach. Also, for me at least, at this point the distinction between interpreter and compiler isn't as important, and there are some very high quality interpreter resources out there. [0], [1], [2] are easy to get started with and great to work through. At the very least it seems like t…

    Comment linking /

    on “My First Fifteen Compilers”
  28. This is worth a look if you have not seen it. https://interpreterbook.com/

    Comment linking /

    on “Stanford Compilers Course”
  29. There is a similar crafting an interpreter[1] and compiler[2] pair of books for Go. I've heard good things about it, didn't work through it myself though: 1. https://interpreterbook.com 2. https://compilerbook.com

    Comment linking /

    on “Ask HN: Programming Courses for Experienced Coders?”
  30. For those of you that found this interesting, I also highly recommend: Writing An Interpreter in Go [1] and Crafting Interpreters [2]. [1] https://interpreterbook.com/ [2] http://craftinginterpreters.com/

    Comment linking /

    on “Bytecode compilers and interpreters”

Search all of HN for interpreterbook.com

Linked by the same people?