Flashcards
Compilation steps
Flashcards do 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.
Informações
- Descrição
- GCSE Computing FlashCards sobre Compilation steps, criado por connie young em 26-02-2019.
- Criado por
- connie young
- Visualizações
- 4
- Tags
- Avaliação
Mais sobre Stages of Compilation