Ayúdanos a dar forma a GoConqr. ¿Qué deberíamos añadir?

Fichas

Compilation stages

Leon Clark Inglés 6 fichas

symbol table construction

Fichas del conjunto (6)

  1. 1lexical analysiscomments and unneeded spaces are removed
    keywords, constants, and identifiers are replaced with tokens (if, while and for, get replaced for example)
  2. 2symbol table constructionsymbol table created to hold variable addresses, labels, and subroutinessymbol table construction
  3. 3syntax analysistokens are checked to see whether they match the rules (produces errors)
  4. 4semantic analysisvariables checked to see whether they are valid
    e.g. "cabbage"+3 is invalid
  5. 5syntax errorany error that stops the code from compiling
    e.g. missing semicolon
  6. 6code generation and optimizationthe high-level code is converted into machine code
    code is scanned for repetitions or inificencies and removes or fixes them

Información

Descripción
Fichas sobre Compilation stages, creado por Leon Clark el 05/05/2021.
Creado por
Leon Clark
Visitas
0
Valoración

Más sobre Stages of Compilation

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué deberíamos añadir?