01Chapter 1: Where lexing, parsing, and translation fit in a compilerThis chapter assumes you know regular expressions, finite automata at a basic level, context-free grammars, and tree structures. You should be comfortable reading set notation and recursive definitions.2 min read
02Chapter 2: Ambiguity and how to resolve itThis chapter assumes you know context-free grammars, derivations, parse trees, and basic set notation. It covers how grammars become ambiguous, how to rewrite them so a parser can use them, and how LL(1) and LR(0) parsers read a string.3 min read
03Chapter 3: CLR(1) and LALR(1) parsersThis chapter assumes you know LR(0) items, SLR(1) tables, FIRST and FOLLOW sets, parse trees, and the basic idea of syntax-directed definitions.2 min read