A Retargetable C Compiler

Douban
A Retargetable C Compiler

Log ind eller registrer dig for at anmelde eller tilføje dette element til din samling.

ISBN: 9780805316704
forfatter: David R. Hanson / Christopher W. Fraser
forlag: Addison-Wesley Professional
udgivelsesdato: 1995 -2
pris: USD 69.99
antal sider: 592

/ 10

0 bedømmelser

Ingen nok bedømmelser
Lån eller køb

Design and Implementation

David R. Hanson / Christopher W. Fraser   

overblik

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.

indhold

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

andre udgaver (2)
kommentarer
Anmeldelser
Noter