[Home] [Enter] [Undergraduate Syllabus] [Graduate Syllabus] [Project] [Bulletin Board] [Chatroom] [Grade] [Upload]

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

o, Dragon Book: Chapters 1-3
1. My Text: Overview
2. Cooper & Torczon: Overview, Part 1 [PDF]
3. Cooper & Torczon: Overview, Part 2 [PDF]
4. Mike Voss's Overview [PDF]

5. My text: Scanning

6. Cooper & Torczon: Lexical Analysis, Part 1 [PDF]
7. Cooper & Torczon: Lexical Analysis, Part 2 [PDF]
8. Cooper & Torczon: Lexical Analysis, Part 3 [PDF]
9. L. C. HSU: from coit
10. Lex Examples [PDF]
11. Wei's JavaCC Tutorial
12. Some theoretical background by Tom LeBlanc

Homework [PDF]

Homework Solutions [PDF]