Principles Of Compiler Design

Front Cover
Technical Publications, Jan 1, 2008 - 503 pages
2 Reviews
CompilingCompilers - Analysis of the source program - Phases of a compiler - Cousins of the compiler - Grouping of phases - Compiler construction tools - Lexical analysis - Role of lexical analyzer - Input buffering - Specification of tokens.Syntax AnalysisRole of the parser - Writing grammars - Context - Free grammars - Top down parsing - Recursive descent parsing - Predictive parsing - Bottom-up parsing - Shift reduce parsing - Operator precedent parsing - LR parsers - SLR parser - Canonical LR parser - LALR parser.Intermediate Code GenerationIntermediate languages - Declarations - Assignment statements - Boolean expressions - Case statements - Back patching - Procedure calls.Code GenerationIssues in the design of code generator - The target machine - Runtime storage management - Basic blocks and flow graphs - Next-use information - A simple code generator - DAG representation of basic blocks - Peephole optimization.Code Optimization and Run Time EnvironmentsIntroduction - Principal sources of optimization - Optimization of basic blocks - Introduction to global data flow analysis - Runtime Environments - Source language issues - Storage organization - Storage Allocation strategies - Access to non-local names - Parameter passing.
 

What people are saying - Write a review

User Review - Flag as inappropriate

This is a very nice book with lots of examples. This book can be used in parallel with Aho Ullman while studying compiler design

User Review - Flag as inappropriate

hai

Contents

References R1
2-1
Chapter 3 Syntax Analysis 31 to 3104
3-1
Chapterwise Tutorials T1toT82
3-82
Chapter4 Syntax Directed Translation 41 to422
4-3
Chapter 5 Intermediate Code Generation 5 1 to 5
5-1
Chapter6 Code Generation 61to
6-1
viii
8-20
Chapterwise University Questions with Answer P1toP44
T-44
Review Questions 748
P-7
As per Revised Syllabus of Anna University 2004 Course
P-42
Copyright

Other editions - View all

Common terms and phrases

Bibliographic information