Saltar al contenido

Semantic analysis and code generation

Introducido
Material
Lección de video para este tema Abrir la página de video
5:58

Teoría de la computación y compiladores

This course asks what machines can decide, and how text becomes meaning. The first three units are theory: automata and regular languages, context-free…

Narración en inglés · subtítulos en inglés y 中文 que puedes cambiar

En esta lección

Videolección
Vocabulario
English Significado
symbol table/ˈsɪmbl ˈteɪbl/tabla de símbolos
scope/skəʊp/The region of a program in which a particular name or binding can be accessed.
intermediate representation/ˌɪntəˈmiːdɪət ˌreprɪˈzenteɪʃn/representación intermedia
three-address code/θriː əˈdres kəʊd/intermediate code in which each instruction has at most one operator and three addresses
lexer/ˈleksə/the compiler stage that groups characters into tokens
Constant folding/ˈkɒnstənt ˈfəʊldɪŋ/working out constant expressions at compile time
constant propagation/ˈkɒnstənt ˌprɒpəˈɡeɪʃn/replacing a variable with its known constant value
dead-code elimination/ded kəʊd ɪˌlɪmɪˈneɪʃn/removing code whose results are never used
common subexpressions/ˈkɒmən ˌsʌbɪkˈspreʃnz/identical expressions computed more than once, which the compiler can compute once
Register allocation/ˈredʒɪstə ˌæləˈkeɪʃn/choosing which values live in the processor's limited registers
spilled/spɪld/(of a value) kept in memory because no register is free for it
live/laɪv/of a variable at a program point: its current value may still be read later
Loop-invariant code motion/luːp ɪnˈveərɪənt kəʊd ˈməʊʃn/moving a calculation that gives the same result every time out of a loop
Siguiente →

Material

Iniciar sesión o crear cuenta

IGCSE, A-Level & AP