Compiler I WS 2001/2002 - Slide 26
Objectives:
Understand lexical analysis subtasks
In the lecture:
Explain
- subtasks and their interfaces using slide CI-16,
- unusual notation of keywords,
- different forms of comments,
- sparation of tokens in FORTRAN,
Suggested reading:
Kastens / Übersetzerbau, Section 3, 3.3.1
Questions:
- Give examples of context dependent information about tokens, which the lexical analysis can not know.
- Some decisions on the notation of tokens and the syntax of a language may complicate lexical analysis. Give examples.
- Explain the typedef problem in C.
©2001 by Prof. Dr. Uwe Kastens
Generiert mit Camelot | Probleme mit Camelot? | Geändert am: 10.04.2006