Hacker News new | ask | show | jobs
by J253 1571 days ago
This is a great resource for pointing out the things you need to think about in designing a language.

To see the nitty gritty line-by-line walkthrough of everything that goes into actually building a language (all the way down to writing your own VM) I HIGHLY recommend reading Crafting Interpreters[1] by Bob Nystrom. I’m not a language hacker but found everything about this book worthwhile and very interesting.

[1] https://craftinginterpreters.com/

1 comments

I'd also recommend Writing An Interpreter In Go [1] by Thorsten Ball, and its companion, Writing A Compiler In Go.

[1] https://interpreterbook.com/