
- #A RETARGETABLE C COMPILER DESIGN AND IMPLEMENTATION FULL#
- #A RETARGETABLE C COMPILER DESIGN AND IMPLEMENTATION PORTABLE#
- #A RETARGETABLE C COMPILER DESIGN AND IMPLEMENTATION SOFTWARE#
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.
#A RETARGETABLE C COMPILER DESIGN AND IMPLEMENTATION SOFTWARE#
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 RETARGETABLE C COMPILER DESIGN AND IMPLEMENTATION PORTABLE#
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. "synopsis" may belong to another edition of this title.
#A RETARGETABLE C COMPILER DESIGN AND IMPLEMENTATION FULL#
Features: discusses the implementation and design tradeoffs made while constructing a real ANSI C compiler, illustrating the interaction between theory and practice covers compiler theory only as needed to understand the implementation of Icc, focusing instead on practical, applied issues encourages a deeper understanding of programming in C, by providing C programmers with a tour of the language from the perspective of compiler authors includes coverage of code generators for the MIPS R3000, SPARC, and Intel 386 and its successors and provides access to the full source code for the Icc compiler, the three back ends, and the code-generator generator, either on disk or via FTP.

Structured as a self-study guide that describes the real-world tradeoffs encountered in building a production-quality compiler, A Retargetable C Compiler is also useful to individuals who work in application areas using or creating language-based tools and techniques. And while most books describe toy compilers or focus on isolated pieces of code, the authors have made available the entire source code for a real compiler. The authors' innovative approach - a "literate program" that intermingles the text with the source code - gives a detailed tour of the code that explains the implementation and design decisions reflected in the software. This new text examines the design and implementation of Icc, a production-quality, retargetable compiler, designed at AT&T Bell Laboratories and Princeton University for the ANSI C programming language.
