본문 바로가기

Semantic analysis and code generation

도입됨
교재 자료
이 주제용 영상 수업 영상 페이지 열기
5:58

계산 이론 및 컴파일러

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

영어 내레이션 · 영어와 중국어 자막 전환 가능

이 수업의 내용

동영상 강의
어휘
English 의미
symbol table/ˈsɪmbl ˈteɪbl/기호표
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/중간 표현
three-address code/θriː əˈdres kəʊd/intermediate code in which each instruction has at most one operator and three addresses
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
다음 →

교재 자료

로그인 또는 계정 만들기

IGCSE, A-Level & AP