News for hackers. Stuff that matters.
Re:Let's make a Teeny Tiny compiler by cloogshicer on Saturday June 06, 2020 @04:46PM (#23442088)
If you want to dive deeper into this topic, I also recommend the wonderful book Crafting Interpreters by Bob Nystrom. It can even be read for free online: http://craftinginterpreters.com/

I'm not affiliated with it, but I devoured it recently and thought it was amazing.

Re:Let's make a Teeny Tiny compiler by azhenley on Saturday June 06, 2020 @06:27PM (#23442842)
Author of Teeny Tiny here! I really like Crafting Interpreters too (I link to it at the bottom). Also highly recommend the book Writing an Interpreter in Go.
Re:Let's make a Teeny Tiny compiler by kqr2 on Saturday June 06, 2020 @07:11PM (#23443174)
Link to Writing an Interpreter in Go website:

https://interpreterbook.com/

Re:Let's make a Teeny Tiny compiler by ghosty141 on Sunday June 07, 2020 @02:27PM (#23449430)
I really do appreciate this book. It's absolutely amazing, especially since it's free but I kind of dislike how in some parts the code is just shown without explaining the theory behind it. I doubt you could follow the book very well without having almost all of the source code layed out infront of you.

I'd much rather have a language agnostic explanation that does not rely on certain classes or patterns that only work well in the word of OOP-Languages.

Re:Let's make a Teeny Tiny compiler by mhh__ on Saturday June 06, 2020 @06:01PM (#23442623)
'tis a good book.

Appel's compiler implementation in x (if you choose anything other than ML you don't deserve to live) is a good follow on