- Writing an Interpreter in Go [1]
- Writing a Compiler in Go [2]
Absolutely best books I've ever read on the subject. And if you like to follow a step-by-step (each commit is a part of the boks) feel free to clone my own monkey-lang that followed the books pretty closely: https://git.mills.io/prologic/monkey
Another really good book is "Crafting Interpreters".
AlexeyBrin•1h ago