[Enter] [Syllabus] [Labs]

Module #1: Overview
&
Lexical Analysis
(Scanning)

Objectives

  1. Define the Phases of a Compiler
  2. Perform lexical analysis
  3. Use lexical analyzer generators

Background Material

1. My Text: Overview of Compiling and Compiler Generation
2. My text: Scanning
3. Cooper & Torczon: Overview, Part 1 [PDF]
4. Cooper & Torczon: Overview, Part 2 [PDF]
5. Dragon Book: Chapters 1-3
6. Mike Voss's Overview [PDF]
7. Cooper & Torczon: Lexical Analysis, Part 1 [PDF]
8. Cooper & Torczon: Lexical Analysis, Part 2 [PDF]
7. Cooper & Torczon: Lexical Analysis, Part 3 [PDF]
8. L. C. HSU: from coit
9. Lex Examples [PDF]
10. Wei's JavaCC Tutorial
11. Minimizing by partitioning example (has audio)
12. Overview video [vPOD]
13. Converting a regular expression to a minimal dfa video [vPOD]
14. Lex video [vPOD]