3 ms·
Oh wow! Great resource. I think it strikes the right balance between lexing/parsing vs code generation/optimization. I see that not even in modern books things
by nhatcher 4y ago
Oh wow! Great resource. I think it strikes the right balance between lexing/parsing vs code generation/optimization.
I see that not even in modern books things like PEG parser or Pratt parsing make the cut. Which is a pity IMHO. As an aside I am yet to find a great book/resource of garbage collectors that I can understand. It is such a fascinating subject!
If you want to dive into compiler/interpreters but do not want to go straight into the computer science of it I wholeheartedly recommend:
https://compilerbook.com https://compilerbook.com and https://interpreterbook.com https://interpreterbook.com
And, of course, the incomparable book by Robert Nystrom "Crafting Interpreters""
https://craftinginterpreters.com/ https://craftinginterpreters.com/
- nils-m-holm 4y agoIf you like books that are light on theory, I might add: Practical Compiler Construction (http://t3x.org/reload/index.html http://t3x.org/reload/index.html) Write your own Compiler (http://t3x.org/t3x/book.html http://t3x.org/t3x/book.html) Both written by me.