


The book omits a few language features-those with mundane or repetitive implementations and those deliberately treated only in the exercises-but the full compiler is available on the diskette, and the book makes it understandable. Detailing most of a production compiler in a book leaves little room for supporting material, so we present only the theory needed for the implementation at hand and leave the broad survey of compiling techniques to existing texts. It's been used to compile production programs since 1988 and is now used by hundreds of C programmers daily. The accompanying diskette holds the source code for the complete compiler. This book explains in detail and shows most of the code for a real compiler. Software design and implementation are best learned through experience with real tools. Plauger (Addison-Wesley, 1976) is to text processing like text editors and macro processors. It is to compiling what Software Tools by B.W. This book tours most of the implementation of lcc, a compiler for the ANSI C programming language. Perhaps more important, a compiler must generate correct object code an application is only as reliable as the compiler that compiled it.Ī compiler is itself a large and complex application that is worthy of study in its own right. A compiler must generate efficient object code. A compiler must accept the standard definition of the programming language so that source code will be portable across platforms. Working programmers use compilers every day and count heavily on their correctness and reliability. The compiler is the linchpin of the programmer's toolbox. Examines the design and implementation of Icc, a production-quality, retargetable compiler, designed by AT&T Bell Laboratories and Princeton University for the ANSI C programming language.
