Compilers, Principles, Techniques, and Tools / Alfred V. Aho, Ravi Sethi, Jeffrey D. Ullman.
Material type: TextPublication details: Reading, Mass. : Addison-Wesley Pub. Co., c1986.Description: x, 796 p. : ill. ; 24 cmISBN:- 0201100886 :
- 005.4/53 19
- QA76.76.C65 A37 1986
Item type | Current library | Call number | Copy number | Status | Barcode | |
---|---|---|---|---|---|---|
Books | Library First Floor | QA76.76.C65 A37 1986 (Browse shelf(Opens below)) | 1 | Available | 7474 | |
Books | Library First Floor | QA76.76.C65 A37 1986 (Browse shelf(Opens below)) | 2 | Available | 7478 |
Includes index.
Bibliography: p. [752]-779.
1. Introduction to Compiling. Compilers. Analysis of the Source Program. The Phases of a Compiler. Cousins of the Compiler. The Grouping of Phases. Compiler-Construction Tools. Bibliographic Notes. 2. A Simple One-Pass Compiler. Overview Syntax Definition. Syntax-Directed Translation. Parsing. A Translator for Simple Expressions. Lexical Analysis. Incorporating a Symbol Table. Abstract Stack Machines. Putting the Techniques Together. Exercises. Bibliographic Notes. 3. Lexical Analysis. The Role of the Lexical Analyzer. Input Buffering. Specification of Tokens. Recognition of Tokens. A Language for Specifying Lexical Analyzers. Finite Automata. From a Regular Expression to an NFA. Design of a Lexical Analyzer Generator. Optimization of DFA-Based Pattern Matchers. Exercises. Bibliographic Notes. 4. Syntax Analysis. The Role of the Parser. Context-Free Grammars. Writing a Grammar. Top-Down Parsing. Bottom-Up Parsing. Operator-Precedence Parsing. LR Parsers. Using Ambiguous Grammars. Parser Generators. Exercises. Bibliographic Notes. 5. Syntax-Directed Translation. Syntax-Directed Definitions. Construction of Syntax Trees. Bottom-Up Evaluation of S-Attributed Definitions. L-Attributed Definitions. Top Down Translation. Bottom-Up Evaluation of Inherited Attributes. Recursive Evaluators. Space for Attribute Values at Compile Time. Assigning Spaces at Compiler-Construction Time. Analysis of Syntax-Directed Definitions. Exercises. Bibliographic Notes. 6. Type Checking. Type Systems. Specification of a Simple Type Checker. Equivalence of Type Expressions. Type Conversions. Overloading of Functions and Operators. Polymorphic Functions. An algorithm for Unification. Exercises. Bibliographic Notes. 7. Run-Time Environments. Source Language Issues. Storage Organization. Storage-Allocation Strategies. Access to Nonlocal Names. Parameter Passing. Symbol Tables. Language Facilities for Dynamic Storage Allocation. Dynamic Storage Allocation Techniques. Storag.
This introduction to compilers is the direct descendant of the well-known book by Aho and Ullman, Principles of Compiler Design. The authors present updated coverage of compilers based on research and techniques that have been developed in the field over the past few years. The book provides a thorough introduction to compiler design and covers topics such as context-free grammars, fine state machines, and syntax-directed translation.
There are no comments on this title.