Retargetable C Compiler, A: Design and Implementation, 1st edition
Published by Addison-Wesley Professional (January 31, 1995) © 1995
- David R. Hanson Princeton University
- Christopher W. Fraser
- A print text (hardcover or paperback)Â
- Free shipping
- Also available for purchase as an ebook from all major ebook resellers, including InformIT.com
Designed as a self-study guide, the book describes the real-world tradeoffs encountered in building a production-quality, platform-retargetable compiler. The authors examine the implementation of lcc, a production-quality, research-oriented retargetable compiler, designed at AT&T Bell Laboratories for the ANSI C programming language. The authors' innovative approach-a "literate program" that intermingles the text with the source code-uses a line-by-line explanation of the code to demonstrate how lcc is built.
Preface.
1. Introduction.
2. Storage Management.
3. Types.
4. Code Generation Interface.
5. Lexical Analysis.
6. Parsing.
7. Expressions.
8. Expression Semantics.
9. Expression Semantics.
10. Statements.
11. Declarations.
12. Generating Immediate Code.
13. Structuring the Code Generator.
14. Selecting and Emitting instructions.
15. Register Allocation.
16. Generating MIPS R3000 Code.
17. Generating SPARC Code.
18. Generating X86 Code.
19. Retrospective.
Bibliography.
Index.
How to Obtain ICC. 0805316701T04062001
Since 1975, Christopher W. Fraser has researched compiling, particularly producing code generators automatically from compact specs, and has published many technical articles in this area. He originated retargetable peephole optimization, which GCC, a popular C compiler, uses to help select instructions. From 1977 until 1986, Fraser taught computer science, including compiling, at the University of Arizona. Since 1986, Fraser has conducted computing research at AT&T Bell Laboratories in Murray Hill, New Jersey.
David R. Hanson is a Professor of Computer Science at Princeton University with more than 20 years of research experience in programming languages. He has conducted research in conjunction with Bell Laboratories and is the co-author of lcc, a production quality, research compiler for the C language that is popular with the Unix community. lcc is presented and analyzed in the book A Retargetable C Compiler: Design and Implementation, by Christopher Fraser and David Hanson (c) 1995, Addison-Wesley.
0805316701AB04062001
Need help? Get in touch