Review products and earn money. Learn more
Earn advertising credits on boddunan. Click here to learn more.

Compiler & Phases of Compiler Hot

Before we know about the phases of compiler,we must know waht is compiler.



Compiler :



Compiler is a simple program  which reads a program written in one language (i.e., High Level Language (or) Source Language) and it translates to an equivalent target program (i.e., Low Level Language).



Now we are going to  know  what are the different phases of compilers.



Phases of Compiler:



Compiler consists of 2 phases.



1.Analysis Phase



2.Synthesis phase



1.Analysis Phase :



Analysis Phase performs 3 actions namely



a)Lexical analysis - it contains a sequence of characters called tokens.Input is source program & the output is tokens.



b)syntax analysis - input is token and the output is parse tree



c)Semantic analysis - input is parse tree and the output is expanded version of parse tree



2.Synthesis Phase :



Synthesis Phase performs 3 actions namely



d)Intermediate Code generation - Here all the errors are checked & it produce an intermediate code.



e)Code Optimization - the intermediate code is optimized here to get the target program



f) Code Generation - this is the final step & here the target program code is generated.


User reviews

Average user rating from: 1 user(s)

To write a review please register or login.
Overall rating: 
 
3.0
Article Details:
 
3.0
Understanding:
 
3.0
Relevance:
 
3.0
 
 

nice info here...keep posting

Overall rating: 
 
3.0
Article Details:
 
3.0
Understanding:
 
3.0
Relevance:
 
3.0
Was this review helpful to you?
Yes No
0 of 0 people found the following review helpful

nice info here...keep posting

 
 
Author Articles
More from this author:
List Of Scripting Languages (906 Hits)
Programming > Web Programming
List of all Scripting Languages * ActionScript * AJAX * AppleScript * CGI * DOS & Windows * MSH/Monad PowerShell *...
Facts about Facebook.com (423 Hits)
Miscellaneous > General Reference
FaceBook was developed by a Harvard student named Mark Zuckerberg.It was first used in Harvard campus students itself. Facebook was originally...
4G - Fourth Generation of Wireless Communications (427 Hits)
Computers & Technology > New Technologies
Hi Friends ,here i am going to share some ideas and things i know about 4G technology. 4G is also known as (beyond 3G).4G was developed to...
What is BotNet? (517 Hits)
Computers & Technology > New Technologies
BotNet is a word derived from jargon term which means a collection of software robots or bots,which runs automatically. This Botnet is associated...
CSS - Cascading Style Sheet (381 Hits)
Programming > Web Programming
CSS(Cascading Style Sheet) is a style sheet language.It is used to give attractive presentation to the documents which written in any markup...
Oracle's DDBMS Funtionality (361 Hits)
Computers & Technology > Software
Hi,Today Oracle is one of the most used language around the world of database.While studying about oracle,we must know about oracle DDBMS...
Wolfram Alpha - A Knowledge Engine (323 Hits)
Miscellaneous > General Reference
Wolfram Alpha - whats this? are you thinking , Wolfram Alpha is just a engine to get answers for your questions and queries. It was similar to...
Related Articles
Related Articles:
Compiler Construction Tools (584 Hits)
vijay_u
Education > Engineering
There are many compiler construction tools available to enhance the compiler performance.Some of them 1.Parser Generators: These generators...
Understanding how compiler was developed (222 Hits)
vinay
Programming > C & C++
Hello everyone, This is my first article on this site however there are lots of computer related articles which I have written for other resources....
Something About >> Register Allocation and Assignment In A Compiler (45 Hits)
rohit.4cse@gmail.com
Education > Engineering
  Register Allocation and Assignment Instructions involving only register operands are faster than those involving memory operands. On...
Here Is the Structure Of An Compiler (199 Hits)
rohit.4cse@gmail.com
Education > Engineering
  Compiler Hello Friends in my this semester i have a subject compiler design and after studying a lot about that subject i am writing a...
The C Compiler & Compiler Options In Unix (38 Hits)
lohitseth
Programming > Others
The C Compiler: In UNIX and Linux operating systems, the compiler that is used to compile a C file is known as “gcc”. Here “gcc” stands...
Latest Articles
Latest Articles:
THERMODYNAMICS (3 Hits)
7401
Education > Arts & Science
Thermodynamics Thermodynamics is a branch of science which deals with exchange of heat energy between bodies and conversion of the heat energy into...
What is WWW. (4 Hits)
sunnyrsingh
Education > Computer Science
WWW stands for World Wide Web. The world wide web is component of internet that provide access to large amount of information located on many...
What is FTP (File Transfer Protocol). (4 Hits)
sunnyrsingh
Education > Computer Science
FTP is known as File Transfer Protocol. It is an internet tool that copies a file from one internet site to another. It is the specific program that...
INNOCENTLY EVIL (2 Hits)
ayrus
Miscellaneous > Stories & Tales
Well so to speak if ever i were to speak...forgive me i am naive in a sense..an amateur writer..there are various days that one comes across in life...
PCI Buses (2 Hits)
sunnyrsingh
Education > Computer Science
PCI stands for Peripheral Component Interconnect. It is developed by INTEL in 1990. It is a 32-bit local bus which extends the processor an local bus...
Tamil Actress Piya Success in Tamil Film Industries (2 Hits)
vasanthpmk
Entertainment > Movies
Piya is a New Tamil Actress in Kollywood. She is a North Indian young actress Piya, made her debut in Kollywood with the film 'Poi Solla...
What is Microprocessor & It's Types. (2 Hits)
sunnyrsingh
Education > Computer Science
A Microprocessor is a multi-purpose, programmable, clock-driven, registered based, electronic storage device that reads binary instructions from a...
Most Read Articles
Most Read Articles:
Money making programs on boddunan.com (9558 Hits)
bnadmin
Boddunan.com is not only a platform to share knowledge and learn from the articles posted by other members but also provides an oportunity to make...
India in 2020 (5545 Hits)
indipsingh
Education > English Language
INDIA IN 2020   India is a vast country with many types of cultures. There is large number of small and large communities Normal 0 ...
Earn money by posting links (5283 Hits)
bnadmin
Now you can earn up to Rs. 5 per a web link back to an article on boddunan.com. Read below instructions. Below are the instructions to post...
Longest Film in history (5138 Hits)
xaskoiking
Entertainment > Movies
Hi friends in this article in this article let us discuss about films that runs for maximum hours.Most of these films are experimental and the...
History of Transportation – Your Complete Guide (4401 Hits)
soni2006
People & Places > Creators
Definition of transportation Transportation is a means of moving people or goods from one place to another. The modern commercial transport...
Earn money by posting articles (4366 Hits)
bnadmin
Now you can make money from the content you will share on boddunan.com. For every article you post, you will be eligible to earn money up to Rs. 100....
CANDICE BERGEN (4350 Hits)
xaskoiking
People & Places > Celebrities
Hai friends in this article let us discuss about the 5 time Emmy award winner and 2 time Gold Globe award winning American Actress and model CANDICE...

Trackback(0)

TrackBack URI for this entry

Comments (4)

Subscribe to this comment's feed
...
ceeem
A good article discussing the compiler and all its aspects.
ceeem , January 09, 2010
...
sooneel4u
thank you for ur article it really helped me
sooneel4u , February 11, 2010
...
rakesh
Thanks for the information. I think you have referred System Software by DM Dhamdhere for this stuff. This book has good content!!
rakesh , February 21, 2010
...
id_crisis
nice info here...keep posting
id_crisis , March 08, 2010

Write comment

smaller | bigger
security image
Write the displayed characters

busy

Sponsored Links

You are not logged in.

Boddunan Stats

  • 5858 registered
  • 5 today
  • 47 this week
  • 97 this month
  • Last: deamonvector

Online Users