Next: Module 3: Syntax Analysis
Up: course_outline
Previous: Module 1:Introduction to Language
No. of lectures : 5
Topics Covered
- Motivation
- Basic Concepts and Issues
- Handcoding a Lexical Analyser
- Automatic generation of Lexical Analysers
- Minimization of DFA
- Efficient representation of DFA.
Objectives
At the conclusion of the module, the student should be able to :
- Understand the role of lexical analysis and the interface of a
lexical analyser with the rest of the compiler.
- Identify tokens in a language and the action to
performed on discovery of a token.
- Understand the issues involved in handcoding a lexical
analyser.
- Express tokens in a language through regular
expressions and be able to specify action routines along with
token specifications.
- See a DFA as a recogniser of tokens. Understand the algorithms
involved in converting regular expressions into a minimized DFA.
- See clearly that the DFA, a driver routine and the action
routines, combined appropriately, indeed constitute a lexical
analyser.
- Understand the need for an efficient representation of a DFA and
see how it can be achieved by a particular representation using
four arrays.
Next: Module 3: Syntax Analysis
Up: course_outline
Previous: Module 1:Introduction to Language
Amitabha Sanyal
2000-12-07