4 ms·
What a delightful coincidence! I just posted the next chapter on my in-progress book "Crafting Interpreters" which walks you through implementing an interpreter
by munificent 10y ago
What a delightful coincidence! I just posted the next chapter on my in-progress book "Crafting Interpreters" which walks you through implementing an interpreter (well, two actually) from scratch, a chapter at a time:
http://www.craftinginterpreters.com/ http://www.craftinginterpreters.com/
I really liked "Build Your Own Lisp" too. Fun book. :)
- hunt 10y agoI can really recommend this book, I've worked through it and am implementing the interpreter in Rust. I've just finished the latest chapter and am looking forward to the future instalments. Edit: here is the (WIP) intepreter: https://github.com/HarveyHunt/loxr https://github.com/HarveyHunt/loxr
- munificent 10y agoAwesome, I added a link to it on the book's README so other people can find it. I hope that's OK.
- hunt 10y agoThat's great, thanks for doing so.
- msangi 10y agoI'm going through the book implementing the project in Rust too. I'm trying to learn Rust with this project. It's still far from idiomatic but I plan to keep implementing following the book and then refactor later. https://github.com/mariosangiorgio/rulox https://github.com/mariosangiorgio/rulox
- munificent 10y agoCool, added yours to the README too. :)
- herbstein 10y agoThank you for the tutorial. I've scoured the Internet for lighter introductions to interpreter development, and yours is the only one that's worthwhile. Great job!