Hacker News new | ask | show | jobs
by spinlock_ 2265 days ago
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://compilerbook.com/

1 comments

They're really good books specially if you want to program in a "modern" language but I personally couldn't stomach the code style nor the TDD focus. I'm probably being really unfair to the author, so please don't let this be a deterrent!

I personally enjoyed `Modern Compiler Implementation in ML` and Crenshaw's tutorial [0] There's also a Forth translation [1] if you're into that :)

[0] https://compilers.iecc.com/crenshaw/

[1] http://home.vianetworks.nl/users/mhx/crenshaw/tiny.html