Lecture 02: Automating Lexing. Intro to Parsing
Automating Lexical Analysis
State Machines from Regular Expressions (done in exercises)
From Finite State Machines to Regular Expressions
Minimization of Finite State Machines
Automatic Generation of Lexers
References
- Tiger book, Chapters 1-2
- Slides from previous years:
- Compiler Construction by Niklaus Wirth, Chapters 1-3
Syntax Analysis (Parsing)
Introduction to Parsing
References
- Tiger book, Sections 3.1, 3.2
- Compiler Construction by Niklaus Wirth, Chapter 4