Overview |
Chapter 1: Introduction |
Lexical Analysis (Scanning) |
Chapter 2:
- Sec. 2.1: The scanning process
- Sec. 2.2: Regular expressions
- Sec. 2.3: Finite automata
- Sec. 2.4: From regular expressions to DFAs
- Sec. 2.5: Implementation of a scanner
- Sec. 2.6: Using Lex
|
Context-Free Grammars and Parsing |
Chapter 3:
- Sec. 3.1: The parsing process
- Sec. 3.2: Context-free grammars
- Sec. 3.3: Parse trees and abstract syntax trees
- Sec. 3.4: Ambiguity
- Sec. 3.5: Extended notations
|
Bottom-up Parsing |
Chapter 5:
- Sec. 5.1: Overview
- Sec. 5.2: Finite automata of LR(0) items
- Sec. 5.3: SLR(1) parsing
- Sec. 5.5: Using yacc
|
Semantic Analysis |
Chapter 6:
- Sec. 6.1: Attributes and Attribute grammars
- Sec. 6.2: Algorithms for attribute computation
- Sec. 6.3: The symbol table
- Sec. 6.4: Type checking
|
Run-Time Environments |
Chapter 7:
- Sec. 7.1: Memory organization during execution
- Sec. 7.2: Fully static environments
- Sec. 7.3: Stack-based environments
|
Code Generation |
Chapter 8:
- Sec. 8.1: Intermediate code and data structures for code
generation
- Sec. 8.2: Basic code generation techniques
- Sec. 8.3: Code generation for data structure references
- Sec. 8.4: Code generation for control statements and
logical expressions
- Sec. 8.5: Code generation for procedure/function calls
- Sec. 8.9: A survey of code optimization techniques
|