Fichas
Compilation steps
Fichas del conjunto (6)
- 11. Lexical analysisUnneeded code is removed (e.g. extra spaces and comments). Key words, constants and identifiers are replaced by 'tokens'.
- 22. Symbol table constructionSymbol tables are constructed to store the addresses of variables, subroutines and labels.
- 33. Syntax analysisTokens are checked to see if their syntax is correct.
- 44. Semantic analysisOperators and variables are checked to see if they are legal and appropriate (e.g. "hello"+2 is impossible).
- 55. Code generationMachine code is generated.
- 66. Code optimisationCode is scanned for repetitions or inefficiencies that can be replaced by loops or more efficient code. This greatly effects quality, therefore price.
Información
- Descripción
- GCSE Computing Fichas sobre Compilation steps, creado por connie young el 26/02/2019.
- Creado por
- connie young
- Visitas
- 4
- Etiquetas
- Valoración
Más sobre Stages of Compilation