image image image
Share Knowledge Boddunan provides you a robust platform to share your knowledge to the entire community. Whether you are a hobby writer or proffesional writer, we give you a platform to enhance your skills and at the same time a unique identity on entire community. Be part of the community and start sharing your knowledge now. Click here to signup for free.
Learn From Community Boddunan has wide variery of content whether it is related to family or entertainment, business or games, programming or technology. Boddunan is a host of such huge information shared by number of community members. Learn whatever you want from a single place from the knwoledge of thousands of community members. Be an active member on communty and learn new things. Click here to signup for free.
Earn Money Now you can not only share and learn knowledge, but also earn money from the information you shared with the community members. We have a number of money making programs ranging from cash rewards for articles, referral bonus for referring friends, contests and many more. Be part of the community and earn money as well. Click here to signup for free.
Review products and earn money. Learn more
Earn advertising credits on boddunan. Click here to learn more.
Articles Miscellaneous General Reference Compiler & Phases of Compiler

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 log in.
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
1 of 1 people found the following review helpful

nice info here...keep posting

 
 
Author Articles
More from this author:
List Of Scripting Languages (2162 Hits)
Programming > Web Programming
List of all Scripting Languages * ActionScript * AJAX * AppleScript * CGI * DOS & Windows * MSH/Monad PowerShell *...
Facts about Facebook.com (565 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 (609 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? (670 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 (508 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 (634 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 (485 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 (1095 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 (316 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 (87 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 (499 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 (68 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:
Transport System In India (6 Hits)
sajeetharan
People & Places > Social Life
It would be nice to discuss the public transport facilities that we have in our cities.Let me share How much we are satisfied and how we we are...
Device driver (4 Hits)
Binief
Computers & Technology > New Technologies
A device driver represents a computer programme that admits higher-level PC programs to communicate with a machine. It checks the interractions...
Writing an article effectively (3 Hits)
Binief
Miscellaneous > General Reference
Do you would like to know how you are able to compose an article in under thirty minutes? Whenever you would like to be more creative in the...
Be proud of our 'Sardars' ... Must read! (5 Hits)
sunaina badhwar
Entertainment > Jokes & Humour
We all love those santa-banta jokes.But do you know that sikhs are one of the most hard-working and prosperous communities of the world. After...
Asus J 502 (48 Hits)
sunnyrsingh
Reviews > Mobile Phones
The Asus J 502 is a Slider-Touchscreen phone comes with 24MB internal memory and memory can be expanded by microSD card. It has 3 megapixel camera...
Education System In India (19 Hits)
sajeetharan
Education > Careers
Indian Education system is going through progess period and will emerge to be great.Its not easy to spread literacy in a country with population...
Asus Z801 (45 Hits)
sunnyrsingh
Reviews > Mobile Phones
The Asus Z801 is a Clamshell-Touchscreen phone comes with 64MB internal memory and memory can be expanded by microSD card. It has 2 megapixel camera...
Most Read Articles
Most Read Articles:
Money making programs on boddunan.com (10180 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...
CANDICE BERGEN (9745 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...
Understanding the Anatomy of Abdominal Muscles (8280 Hits)
soni2006
Education > Medicine & Surgery
To do any exercise correctly you need to know which muscles are involved and the movements they perform. Anatomically locating these...
History of Transportation – Your Complete Guide (8227 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...
Origami (8152 Hits)
ktkps
Miscellaneous > General Reference
We all would at some point in our childhood (and in college) folded papers to make rocket and other things.But we do not know the name for that...
TOP 10 BICEPS EXERCISES PART 1 (7923 Hits)
sapu
Health & Fitness > Yoga & Excercises
Hi friends, well this article is exclusively for those men and may be, who knows even some girls who want to shape up their biceps by simple...
Jallianwala Bagh Massacre (7336 Hits)
xaskoiking
Miscellaneous > General Reference
#) More than 379 dead and 1500 plus were injured..... These are the number of victims of the cruel massacre by  a cruel man called dyer #)Shock...

Trackback(0)

TrackBack URI for this entry

Comments (8)

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
...
santoshkumarsingh
Nice description of compiler functions and stages.
santoshkumarsingh , April 02, 2010
...
FOUZANMOHD
Very nice article easy to understand keep it up
FOUZANMOHD , April 02, 2010
System Analyst
0
Can you illustrate the synthesis phase with the pascal input: P:=I+R*60?
Thanks
Jay , April 26, 2010
...
grakesh
Very good article on compiler. I don't know about compiler in such depth
grakesh , May 12, 2010

Write comment

smaller | bigger
security image
Write the displayed characters

busy

User Submission Statistics

There are 8886 listings and 740 reviews.

Sponsored Links

Leader Board

This Week
sajeetharan (2698 Points)
neetu020784 (1708 Points)
sunnyrsingh (892 Points)
jayen (830 Points)
bolisettypradeep (800 Points)
kdeepti (800 Points)
kumaresh (744 Points)
jasmeetsingh (660 Points)
ra_k (597 Points)
kalyani (585 Points)
Last
aasthagupta36 (1932 Points)
neetu020784 (1661 Points)
vijuagrawal (1596 Points)
sunnyrsingh (1263 Points)
kdeepti (1120 Points)
jobin (888 Points)
kalyani (836 Points)
ra_k (634 Points)
kumaresh (516 Points)
kavishanigam (428 Points)
Updated every 1 hour(s)

You are not logged in.

Boddunan Stats

  • 6820 registered
  • 9 today
  • 40 this week
  • 550 this month
  • Last: emad981

Subscribe Newsletter

Server Time