 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
• |
Syntax
|
|
|
|
– |
concerned with
the structure of a program
|
|
|
– |
consider at both
Lexical level
|
|
|
|
• |
stream of
characters into tokens
|
|
|
|
– |
and Phrase level
|
|
|
|
• |
stream of tokens
into phrases
|
|
|
• |
Semantic
|
|
|
|
– |
concerned with
the meaning of a program
|
|
|
• |
Sets of rules
to cover both areas
|
|