A Retargetable C Compiler

Douban
A Retargetable C Compiler

Login or register to review or add this item to your collection.

ISBN: 9780805316704
author: David R. Hanson / Christopher W. Fraser
publishing house: Addison-Wesley Professional
publication date: 1995 -2
price: USD 69.99
number of pages: 592

/ 10

0 ratings

No enough ratings
Borrow or Buy

Design and Implementation

David R. Hanson / Christopher W. Fraser   

overview

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.

contents

1. Introduction
2. Storage Management
3. Symbol Management
4. Types
5. Code Generation Interface
6. Lexical Analysis
7. Parsing
8. Expressions
9. Expression Semantics
10. Statements
11. Declarations
12. Generating Intermediate 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 Intel X86 Code
19. Retrospective

other editions (2)
comments
reviews
notes