Lex: Basic Idea
•
Automatic construction of a
scanner
from
RE
•
Lex compiler
and Lex language
LEX
Regular expressions
Lexical analyzer (scanner)
Illustration:
2
8/35