1. Compiler stages
This section will describe the three stages that a compiler goes through to generate machine code.
A previous section has described the general points of a compiler (here). This section provides more details on:-
- Lexical Analysis
- Syntactic Analysis
- Code generation and optimisation
The diagram below shows the overall process to be discussed