Scanner
:
Tasks
Other tasks
•
removal of c
omments
and w
hitespaces
•
communication with symbol tables
Main
task
•
recognition and classification of lexemes
•
representing lexemes by their tokens
Relation to Models for RLs
•
R
egular expressions
specify lexemes
•
DFAs
underlie scanners
3/35