This book provides an innovative compiler construction method. Through a large number of examples and exercises, it describes how to design a usable compiler from beginning to end. The book covers the two major parts of compiler design, theory and implementation, in a balanced way. It discusses in detail the relevant topics of standard compiler design, such as top-down and bottom-up syntax analysis, semantic analysis, intermediate representation, and code generation. This book covers the two major parts of compiler design, theory and implementation, in a balanced way. It discusses in detail the relevant topics of standard compiler design (such as top-down and bottom-up syntax analysis, semantic analysis, intermediate representation, and code generation), and provides an innovative compiler construction method, so that readers can learn how to design a usable compiler from beginning to end. This book is an excellent textbook on compiler construction, suitable for students majoring in computer science in colleges and universities and professional programmers using C language. Contents: Chapter 1 Introduction Chapter 2 A Simple Compiler Chapter 3 Lexical Analysis - Theory and Practice Chapter 4 Grammar and Syntax Analysis Chapter 5 LL(1) Grammars and Parsers Chapter 6 LR Parsing Chapter 7 Semantic Processing Chapter 8 Symbol Tables Chapter 9 Runtime Storage Organization Chapter 10 Processing Declarations Chapter 11 Processing Expressions and Data Structure References Chapter 12 Translating Control Structures Chapter 13 Translating Procedures and Functions Chapter 14 Attribute Grammars and Multipass Translation Chapter 15 Code Generation and Local Code Optimization Chapter 16 Global Optimization Chapter 17 Syntax Analysis in the Real World Appendix Reference Index
You Might Like
Recommended ContentMore
Open source project More
Popular Components
Searched by Users
Just Take a LookMore
Trending Downloads
Trending ArticlesMore