COMS W4115
Programming Languages and Translators
Lecture 6: The Lexical-Analyzer Generator Lex
February 11, 2008

Lecture Outline

  1. Review
  2. Issues for a the lexical analyzer
  3. Tokens/patterns/lexemes/attributes
  4. Specifying a lexical analyzer with Lex
  5. Creating a lexical processor with Lex
  6. Lex history
  7. Finite automata

1. Review

2. Issues for a Lexical Analyzer

3. Tokens/Patterns/Lexemes/Attributes

4. Specifying a Lexical Analyzer with Lex

5. Creating a Lexical Processor with Lex

6. Lex History

7. Finite Automata

8. Reading Assignment



aho@cs.columbia.edu