Computer Science, asked by niyajuddin8422, 1 year ago

State any two reasons as to why phases of compiler should be grouped

Answers

Answered by AneesKakar
13

Explanation:

The different phases of compiler should be grouped for the following reasons:

  • Grouping into single phase makes the compilation faster as the compiler is not required to move to different modules or phases to get the process initialization request.
  • Another reason for grouping of phases is that grouping reduces the complexity of the compilation process and also when the program is given for testing, the tester can easily understand all the phases of compilation through a single phase.
Answered by aqibkincsem
4

Answer:

Hey there,

Following are the 2 reasons;

The compiler is essential for tuning a program successfully, and the phases are responsible for logical dealing.

Phases are grouped to reduce the number of passes, and this saves time for the program while it is running for interpreting the inputs.

The compiler can be phased in various groups like the Front and back ends, Passes and methods for reducing the passes.

Thanks for asking

Similar questions