Posts

Showing posts with the label End




Explain Front End and Back End of Compiler in Detail

Image
The front end analyzes the source program and produces intermediate code. The compilation process is a sequence of various phases. Front End Vs Back End Top 6 Differences You Should Know Compiler operates in various phases each phase transforms the source program from one representation to another. . The compiler process goes through lexical syntax and semantic analysis at the front end and code generation and optimization at the back-end. The compiler could be viewed as a front end to deal with the analysis of the source code and a back end to synthesize the analysis into the target code. The synthesis part is the back end. The front-end deals with language specific stuff like parsing and building up the syntax tree while back-end is focused on low-level machine dependent optimizations. Therefore the front end has often been rejected as the role of simply prettying software or websites. Frontend and backend development ar...