Computer Science, asked by mandeep421945, 10 months ago

What is the compilation phase? In which phase Symbol table and Syntax tree

create?​

Answers

Answered by PallaviVerma24
0

Answer:

Compiler operates in various phases each phase transforms the source program from one representation to another. Every phase takes inputs from its previous stage and feeds its output to the next phase of the compiler.

There are 6 phases in a compiler. Each of this phase help in converting the high-level langue the machine code. The phases of a compiler are:

Lexical analysis

Syntax analysis

Semantic analysis

Intermediate code generator

Code optimizer

Code generator

Similar questions