Tuesday, March 22, 2016

What is intermediate code? Why it is necessary in compiler?

 Intermediate Code : After syntax & semantic analysis the compiler generates an explicit intermediate representation of the source program. thsi, intermediate representation as a program for an abstract machine. It has two properties-

  • It should be easy to produce &
  • Easy to translate into the target program. 

Necessary in compiler:

  • To generate machine/assembly language 
  • To create stream of simple instructios after syntax analysis.
If You want to learn about the technology, computer science & engineering, web programming, freelancing, earning please click here :CSE SOLVE

0 comments:

Post a Comment