LARA Lecture 01: Introduction and Lexical Analysis Course Information Compilers and Interpreters What is a Compiler Compilers in Action Phases of a Compiler Why Study Compilers Alternatives to Compilation Specifying Language Syntax While Language Abstract Syntax of While Strings and languages Regular expression Tokens (Words) of While Language Context-Free Grammars Concrete Syntax of While Lexical Analysis without Tools Why Study Lexical Analysis Hand-Written Scanner for While Language References Tiger book, Chapters 1-2 Slides from previous years: Compilation 2007 Slides 1 (French version) Compilation 2007 Slides 2 (French version) Compiler Construction by Niklaus Wirth, Chapters 1-3 Compiler Construction Tools MiniJava