-
lexical analyzer


-
syntax checking
-
semantic analyzer
- A grammatically correct sentence can be meaningless: “Rocks are green vegetables.” has the same parts of speech as “Compilers are engineered objects.”, but has no rational meaning.
- type consistency is checked here