By | June 25, 2019
phases of a compiler

What are the phases of compiler construction?

Phases of a compiler:

The phases of a compiler are linking together on the similarities of function. Phases of compiler deals with logical organization. Many of the phases of a compiler are grouped in one pass that helps to improve the working of a compiler. As some of them do processing on input while other for output.

  • Front End
  • Back End

Further, these phases of the compiler also have many other sub-phases.

Front End:

The front end of phases of compiler depends on source language(input). It analyzes the input and produces intermediate code for the back end. All analysis on the input is done in this phase. It is independent of the target language(target machine). All the given functions are performed in this phase of the compiler.

  • Lexical analysis
  • Syntax analysis
  • Semantic analysis
  • Intermediate code generation

 

front end of compiler

 

Back end:

The back end synthesizes the target code from the intermediate code. The final code for execution is preparing in the back end phase.

  • Code optimization.
  • Code generation.

 

back end of compiler

 

For full detail of all these visit websites.As we collect all the information about all these points separately.

What is compiler history?

What are the types of Compiler?

5 Replies to “What are the phases of a compiler construction?”

  1. eebest8 best

    “Hello! I’ve been following your web site for some time now and finally got the courage to go ahead and give you a shout out from Lubbock Tx! Just wanted to say keep up the excellent work!”

    Reply
  2. air max 270

    An interesting discussion is worth comment. I think that you must write more on this topic, it may not be a taboo subject however generally persons are not sufficient to talk on such topics. To the next. Cheers

    Reply
  3. nike cortez women

    Nice post. I study one thing tougher on different blogs everyday. It can at all times be stimulating to learn content from other writers and practice somewhat one thing from their store. I抎 want to make use of some with the content material on my blog whether or not you don抰 mind. Natually I抣l give you a link on your internet blog. Thanks for sharing.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *