Computer Science, asked by Gouritrivedi9260, 1 year ago

Front and back end phases of compiler

Answers

Answered by Aiesha
5
FRONT END:
•Front end comprises of phases which are dependent on the input (source language) and independent on the target machine (target language).
• It includes lexical and syntactic analysis, symbol table management, semantic analysis and the generation of intermediate code.
• Code optimization can also be done by the front end.
• It also includes error handling at the phases concerned.

BACK END:

• Back end comprises of those phases of the compiler that are dependent on the target machine and independent on the source language.
• This includes code optimization, code generation.
• In addition to this, it also encompasses error handling and symbol table management operations.




hope my answer will help you
Similar questions