An Introduction to Compiler Construction
Longman (Publisher)
Published in October 1992
Book
Hardback
352 pages
978-0-673-39822-2 (ISBN)
Description
This text is orientated towards actual construction of a compiler, rather than the theory underlying compiler construction. This hands-on approach allows students to write a complete compiler which translates a simple algorithmic language to the assembly code of a real computer. The book gives a consistent overall picture of the compiler construction problem, emphasizing the important sub-problems and providing systematic, intuitive approaches to solving them.
More details
Language
English
Place of publication
Harlow
United Kingdom
Publishing group
Pearson Education Limited
Target group
College/higher education
Dimensions
Height: 230 mm
Weight
677 gr
ISBN-13
978-0-673-39822-2 (9780673398222)
Copyright in bibliographic data is held by Nielsen Book Services Limited or its licensors: all rights reserved.
Schweitzer Classification
Content
Part 1 The characteristics of a compiler: structuring; translation; encoding. Part 2 The compiler's interface: modularity; the source module; the error module; the external value module. Part 3 Lexical analysis: the lexical analysis module; scanning the source text for basic symbols; converting denotations and identifiers. Part 4 Syntactic analysis: how to construct a tree; how to specify the parsing task; operator precedence and association; syntactic error recovery. Part 5 Recursive descent parsing: left recursion; decision making; error recovery in a recursive descent parser. Part 6 Shift-reduce parsing: how to construct a shift-reduce parser; shift-reduce parser generators; error recovery in a shift-reduce parser. Part 7 Managing contextual information: how to gather contextual information. Part 8 Types and data mapping: how to represent pascal data on the VAX; the compiler's type system; type declarations and storage allocation. Part 9 Action mapping and the target programme tree: the target programme tree; how to construct a target programme tree design; case studies in target programme tree design. Part 10 Operator identification: overload resolution; action mapping; implementing the operator identification computations. Part 11 Code generation: operand evaluation order; resource allocation; instruction selection. Appendix A: sample project documentation; the definition of C - sample C - programmes; the C - source programme tree; the VAX target programe tree; transforming C - source trees to VAX; target trees.