Hacker News new | ask | show | jobs
by liamilan 1024 days ago
Robert Nystrom's Crafting Interpreters (https://craftinginterpreters.com/) is an awesome resource :D

Though I didn't implement his language exactly, a lot of what he talks about carries over anywhere. It especially helped me figure out how to handle the memory management and scoping.

Vincent Jacques' DrawGrammar (https://jacquev6.github.io/DrawGrammar/) was also super helpful. Getting to see the syntax definition visually made writing it so much easier :).