The phases of a compiler, how the lexer makes tokens, and how FIRST and FOLLOW sets drive a predictive (LL(1)) parser, with a worked example.