Professional Documents
Culture Documents
Chapter 2
Chapter 2
oToken
oLanguage
oConversion RE-NFA-DFA
oFor ex., both 0 and 1 match the pattern for the token
num. But the code generator needs to know which
number is recognized.
Example
letter A|B|C|…|Z|a|b|c|…|z
digit 0|1|…|9