Hacker News new | ask | show | jobs
by jandrese 138 days ago
Traditionally you would start with the Dragon Book[1]. Another starting point is reading the documentation for Yacc (aka Bison) and Lex.

[1] https://en.wikipedia.org/wiki/Compilers:_Principles,_Techniq...

1 comments

The dragon book is a classic, and was a terrific resource thirty and forty years ago. Today there are many far better resources. Several listed adjacent to this one.

It’s focused on theory and very heavy on parsing. All of that is fine, but not especially useful for the hobbies.