Re:Let’s Build a Compiler (1995)
by statictype on Saturday September 25, 2010 @12:24PM
(#1727256)
Excellent set of articles for someone trying to figure out bare basics of compilers without taking it in college.
For a long time (before going to college) I was fascinated with the idea of how languages are implemented. I found this tutorial and followed along. About 3 articles in, the light bulb went on over my head and I finally 'got' recursive descent parsing and how simple and elegant it was. I didn't learn much else from the articles but it was worth it for that.
[ Parent
| on HN ]
I've had almost exactly the same experience.
I had made several attempts at learning how recursive descent parser works, but with little success. Finally I stumbled on this amazing text...
All other resources try to scare you by telling how scientifically mind-blowing subject the compiler construction is... this text simply shows how easy it can be.