3: else
(Tokens have the same form)
Identifiers ´ Keywords
Question: How to distinguish identifiers from keywords?
Table of
 1: if
 2: then
4
keywords:
identifier
f1
a..z
a..z,0..9
s
keyword
Textové pole: ...
...
Textové pole: ...
...
Is this lexeme in the table?
YES
NO
Answer: By a table of keywords.
Textové pole: ...
...
22/35
if
keyword
´
ifj
identifier