What is Lexical ?
Relating to words or the vocabulary of
a language.
What is Syntax ?
The structure of words in a language.
What is Lexical analysis ?
What is the Symbol Table ?
Each item in the code is given a number (token)…
that the compiler uses instead of the item’s name.
What are the steps of running code ?
Lexical analysis
|
Syntax analysis
|
Code generation
|
Optimisation
What is Syntax Analysis ?
What is Code generation ?
The program is converted to machine
code.
What is optimisation ?
The compiler looks for ways to reduce
the number of instructions.
Why is it good to optimise ?