Yasir Explains/Compiler Design/Syntax Analysis
Compiler Design

Syntax Analysis

Compiler Design

Syntax Analysis

Master the second phase of a compiler — from understanding what a parser does, handling errors gracefully, and transforming grammars (left recursion elimination, left factoring), all the way to building LL(1) parsing tables and implementing predictive recursive descent parsers.

Topics

Parser

Error Recovery

Left Recursion

Left Factoring

Top-Down Parsers

FIRST and FOLLOW Sets

Recursive Descent and Predictive Parsing

LL(1) Parsing