3 ms·
Crafting interpreters [1] is one such, where the author walks you through writing an interpreter for a toy language. The book uses Kotlin IIRC, but you can writ
by hiyer 3y ago
Crafting interpreters [1] is one such, where the author walks you through writing an interpreter for a toy language. The book uses Kotlin IIRC, but you can write the interpreter in any language of your choice.
1. https://craftinginterpreters.com/ https://craftinginterpreters.com/
- Jtsummers 3y agoIt uses Java and C. Strictly speaking there's no reason you have to use either language, you can also use the design in the language of your choice (assuming sufficiently matching semantics, like C# or Kotlin instead of Java for Part 1, or a willingness to put in more legwork if you go further afield).
- hectormalot 3y agoThere is a similar crafting an interpreter[1] and compiler[2] pair of books for Go. I've heard good things about it, didn't work through it myself though: 1. https://interpreterbook.com https://interpreterbook.com 2. https://compilerbook.com https://compilerbook.com
- Derbasti 3y agoMan, that book was so good! What a tremendous achievement in clarity and insight. I loved it!