COMPILERS

Выход

Вопрос 1 of 1

  Осталось Времени


0
202919
0
120
block

Stages of compilation

Сопоставьте текст (нажмите и перетащите)   

(0/0)




Совпадение текста

Pre-processing

Lexical analysis

Parsing

Parse tree optimisation

Intermediate code generation

Code optimisation

Target code generation

Нажать и перетащить

prune redundant parts of tree. Move sub-trees within parse-tree to make code more efficient.

converts sequence of characters in source file to tokens. Parsing decision can be made quickly by lookup on a number(the token) and not a string.

builds parse tree that describes grammatical structure of source code, exception handling. If parse is not correct then give a helpful error message.

remove bracketed comments, include headers; supports re-use and modularisation of code, expand macros; increases portability, set compiler directives to condition how compiler works.

make code fast or small. (Conflicting goals - can't be small and fast, one or the other)

binary, machine code for some processors.

generic language that suits many processors machine codes.


202920
0
120
none
202923
0
120
none
203179
0
120
none
202928
0
120
none
202934
0
120
none
202939
0
120
none
203195
0
120
none
202940
0
120
none
202945
0
120
none
203214
0
120
none
203215
0
120
none
203216
0
120
none
203217
0
120
none
203218
0
120
none