Ask HN: Which are the best resources to learn Compiler Design

6 points by zadkey ↗ HN
I have tried a few books and such and many are overly academic and not practical at all.

3 comments

[ 2.9 ms ] story [ 21.4 ms ] thread
I cut my teeth on the "Dragon Book", but as you say once you get past the syntax analysis material it becomes increasingly opaque. Most books are written to be used as part of some CS curriculum. Only a tiny number of SEs go on to work on compilers.

Personally I found the Nanopass approach much easier to understand because it breaks down the compilation process into lots of simple transformation steps: https://nanopass.org/