728x15 Ads

bar

what is compiler

COMPILER----compiler ek aisa program hota hai jo ki ek language mein likhe hue program ko read
karta hai nd then read karne ke baad use doosre kisi doosri language mein translate kar deta hai
jise ki ham target language kehte hain.
par ye jarori hota hai ki translarion process ke doraan hame program mein saari errors ka pta chal
jaye.

compilation ke two parts hote hain

analysis
synthesis
AnAlySiS............. analysis mein ham source program ko diferent differernt tarah se analyze karte hain
iske three phases hote hain.....
lexical analysis
syntax analysis
semantic analysis
synthesis...............is phase mein ham source code par ko target code mein convert karte hain
iske bhi three phase hote hain.....
intermediate code generation
code optimization
code generation
Copyright © eAZy EnginEEriNG