Compilers: Principles, Techniques, and Tools, Alfred V. Aho, Ravi Sethi, and Jeffrey D. Ullman. Addison-Wesley, 1986.
The infamous “dragon book.” There are plenty of things it doesn’t cover, but it provides a theory-based look at the basics of scanning, parsing, semantics, and code generation. (Reviewed Nov., ’02)
![Compilers [affiliate link] Compilers](http://3.bp.blogspot.com/_PlP3j1NZE9g/SuUV-2wUGyI/AAAAAAAAAQY/jX-PCKbSZ0Y/s320/cover-dragon.jpg)