SlideShare a Scribd company logo
1 of 25
MODULE CODE:055CS603 MODULE NAME: PRINCIPLES OF COMPILER DESIGN PRESENTED BY: A.ALMA CANDIDA , B.Sc .,MCA., January 21, 2012 A.Alma Candida B.Sc.,MCA.,  DMI St.Eugene University
TOPICS TO BE COVERED ,[object Object],[object Object],[object Object],January 21, 2012 A.Alma Candida B.Sc.,MCA.,  DMI St.Eugene University
COMPILER ,[object Object],[object Object],January 21, 2012 A.Alma Candida B.Sc.,MCA.,  DMI St.Eugene University Compiler Source Program Target Program
Interpreter  ,[object Object],[object Object],[object Object],January 21, 2012 A.Alma Candida B.Sc.,MCA.,  DMI St.Eugene University
Language Processing Systems ,[object Object],[object Object],[object Object],[object Object],[object Object],January 21, 2012 A.Alma Candida B.Sc.,MCA.,  DMI St.Eugene University
Steps for Language Processing System January 21, 2012 A.Alma Candida B.Sc.,MCA.,  DMI St.Eugene University
Pre Processor ,[object Object],[object Object],January 21, 2012 A.Alma Candida B.Sc.,MCA.,  DMI St.Eugene University
Compiler  ,[object Object],[object Object],[object Object],[object Object],January 21, 2012 A.Alma Candida B.Sc.,MCA.,  DMI St.Eugene University
Assembler ,[object Object],[object Object],[object Object],[object Object],January 21, 2012 A.Alma Candida B.Sc.,MCA.,  DMI St.Eugene University
Linker ,[object Object],[object Object],January 21, 2012 A.Alma Candida B.Sc.,MCA.,  DMI St.Eugene University
Loader  ,[object Object],January 21, 2012 A.Alma Candida B.Sc.,MCA.,  DMI St.Eugene University
Phases Of Compiler ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],January 21, 2012 A.Alma Candida B.Sc.,MCA.,  DMI St.Eugene University
Symbol-Table Management ,[object Object],[object Object],[object Object],January 21, 2012 A.Alma Candida B.Sc.,MCA.,  DMI St.Eugene University
Lexical Analysis ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],January 21, 2012 A.Alma Candida B.Sc.,MCA.,  DMI St.Eugene University
Lexical Analysis (cont..) ,[object Object],[object Object],[object Object],[object Object],January 21, 2012 A.Alma Candida B.Sc.,MCA.,  DMI St.Eugene University
Example of Lexical Analysis ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],January 21, 2012 A.Alma Candida B.Sc.,MCA.,  DMI St.Eugene University
Syntax Analysis ,[object Object],[object Object],[object Object],[object Object],[object Object],January 21, 2012 A.Alma Candida B.Sc.,MCA.,  DMI St.Eugene University
Syntax Analysis(cont..) ,[object Object],[object Object],[object Object],January 21, 2012 A.Alma Candida B.Sc.,MCA.,  DMI St.Eugene University
January 21, 2012 A.Alma Candida B.Sc.,MCA.,  DMI St.Eugene University
Semantic Analysis ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],January 21, 2012 A.Alma Candida B.Sc.,MCA.,  DMI St.Eugene University
Intermediate Code Generation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],January 21, 2012 A.Alma Candida B.Sc.,MCA.,  DMI St.Eugene University
Code Optimization ,[object Object],[object Object],[object Object],[object Object],January 21, 2012 A.Alma Candida B.Sc.,MCA.,  DMI St.Eugene University
CODE GENERATION ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],January 21, 2012 A.Alma Candida B.Sc.,MCA.,  DMI St.Eugene University
PHASES OF THE COMPILER January 21, 2012 A.Alma Candida B.Sc.,MCA.,  DMI St.Eugene University
January 21, 2012 A.Alma Candida B.Sc.,MCA.,  DMI St.Eugene University

More Related Content

What's hot

Type checking
Type checkingType checking
Type checking
rawan_z
 
Introduction to loaders
Introduction to loadersIntroduction to loaders
Introduction to loaders
Tech_MX
 
System Programming Unit II
System Programming Unit IISystem Programming Unit II
System Programming Unit II
Manoj Patil
 

What's hot (20)

Language processing activity
Language processing activityLanguage processing activity
Language processing activity
 
Linker and Loader
Linker and Loader Linker and Loader
Linker and Loader
 
Data conversion
Data conversionData conversion
Data conversion
 
Toy compiler
Toy compilerToy compiler
Toy compiler
 
Type checking
Type checkingType checking
Type checking
 
Hypermedia messageing (UNIT 5)
Hypermedia messageing (UNIT 5)Hypermedia messageing (UNIT 5)
Hypermedia messageing (UNIT 5)
 
Exception Handling in VB.Net
Exception Handling in VB.NetException Handling in VB.Net
Exception Handling in VB.Net
 
Specification-of-tokens
Specification-of-tokensSpecification-of-tokens
Specification-of-tokens
 
1.Role lexical Analyzer
1.Role lexical Analyzer1.Role lexical Analyzer
1.Role lexical Analyzer
 
Design of a two pass assembler
Design of a two pass assemblerDesign of a two pass assembler
Design of a two pass assembler
 
Compiler1
Compiler1Compiler1
Compiler1
 
Lecture 01 introduction to compiler
Lecture 01 introduction to compilerLecture 01 introduction to compiler
Lecture 01 introduction to compiler
 
Compiler Design Introduction
Compiler Design Introduction Compiler Design Introduction
Compiler Design Introduction
 
Introduction to loaders
Introduction to loadersIntroduction to loaders
Introduction to loaders
 
System Programming Unit II
System Programming Unit IISystem Programming Unit II
System Programming Unit II
 
Loaders ( system programming )
Loaders ( system programming ) Loaders ( system programming )
Loaders ( system programming )
 
Lexical analyzer
Lexical analyzerLexical analyzer
Lexical analyzer
 
Compiler design and lexical analyser
Compiler design and lexical analyserCompiler design and lexical analyser
Compiler design and lexical analyser
 
System Programming- Unit I
System Programming- Unit ISystem Programming- Unit I
System Programming- Unit I
 
Pass 1 flowchart
Pass 1 flowchartPass 1 flowchart
Pass 1 flowchart
 

Viewers also liked

GEM - GNU C Compiler Extensions Framework
GEM - GNU C Compiler Extensions FrameworkGEM - GNU C Compiler Extensions Framework
GEM - GNU C Compiler Extensions Framework
Alexey Smirnov
 

Viewers also liked (16)

G++ & GCC
G++ & GCCG++ & GCC
G++ & GCC
 
NetBeans para Java, C, C++
NetBeans para Java, C, C++NetBeans para Java, C, C++
NetBeans para Java, C, C++
 
GEM - GNU C Compiler Extensions Framework
GEM - GNU C Compiler Extensions FrameworkGEM - GNU C Compiler Extensions Framework
GEM - GNU C Compiler Extensions Framework
 
MinGw Compiler
MinGw CompilerMinGw Compiler
MinGw Compiler
 
GNU Compiler Collection - August 2005
GNU Compiler Collection - August 2005GNU Compiler Collection - August 2005
GNU Compiler Collection - August 2005
 
HRM - PM in GCC
HRM - PM in GCCHRM - PM in GCC
HRM - PM in GCC
 
How it's made: C++ compilers (GCC)
How it's made: C++ compilers (GCC)How it's made: C++ compilers (GCC)
How it's made: C++ compilers (GCC)
 
GCC Compiler as a Performance Testing tool for C programs
GCC Compiler as a Performance Testing tool for C programsGCC Compiler as a Performance Testing tool for C programs
GCC Compiler as a Performance Testing tool for C programs
 
Introduction to Perl - Day 1
Introduction to Perl - Day 1Introduction to Perl - Day 1
Introduction to Perl - Day 1
 
GCC, GNU compiler collection
GCC, GNU compiler collectionGCC, GNU compiler collection
GCC, GNU compiler collection
 
C compilation process
C compilation processC compilation process
C compilation process
 
Compiling Under Linux
Compiling Under LinuxCompiling Under Linux
Compiling Under Linux
 
Gcc opt
Gcc optGcc opt
Gcc opt
 
Gccgdb
GccgdbGccgdb
Gccgdb
 
Deep C
Deep CDeep C
Deep C
 
GCC
GCCGCC
GCC
 

Similar to Principles of compiler design

Plagiarism introduction
Plagiarism introductionPlagiarism introduction
Plagiarism introduction
Merin Paul
 
Compiler_Project_Srikanth_Vanama
Compiler_Project_Srikanth_VanamaCompiler_Project_Srikanth_Vanama
Compiler_Project_Srikanth_Vanama
Srikanth Vanama
 
DataScience SG | Undergrad Series | 26th Sep 19
DataScience SG | Undergrad Series | 26th Sep 19DataScience SG | Undergrad Series | 26th Sep 19
DataScience SG | Undergrad Series | 26th Sep 19
Yong Siang (Ivan) Tan
 
Keyword-based Search and Exploration on Databases (SIGMOD 2011)
Keyword-based Search and Exploration on Databases (SIGMOD 2011)Keyword-based Search and Exploration on Databases (SIGMOD 2011)
Keyword-based Search and Exploration on Databases (SIGMOD 2011)
weiw_oz
 

Similar to Principles of compiler design (20)

Language processors
Language processorsLanguage processors
Language processors
 
Plagiarism introduction
Plagiarism introductionPlagiarism introduction
Plagiarism introduction
 
7068458.ppt
7068458.ppt7068458.ppt
7068458.ppt
 
Similarity computation exploiting the semantic and syntactic inherent structu...
Similarity computation exploiting the semantic and syntactic inherent structu...Similarity computation exploiting the semantic and syntactic inherent structu...
Similarity computation exploiting the semantic and syntactic inherent structu...
 
Handout#07
Handout#07Handout#07
Handout#07
 
Compiler_Project_Srikanth_Vanama
Compiler_Project_Srikanth_VanamaCompiler_Project_Srikanth_Vanama
Compiler_Project_Srikanth_Vanama
 
Automating and Validating Semantic Annotations.pdf
Automating and Validating Semantic Annotations.pdfAutomating and Validating Semantic Annotations.pdf
Automating and Validating Semantic Annotations.pdf
 
Compiler gate question key
Compiler gate question keyCompiler gate question key
Compiler gate question key
 
2 rel-algebra
2 rel-algebra2 rel-algebra
2 rel-algebra
 
Handout#08
Handout#08Handout#08
Handout#08
 
Dbms
DbmsDbms
Dbms
 
Kernel Adiutor
Kernel AdiutorKernel Adiutor
Kernel Adiutor
 
Evolutionary db development
Evolutionary db development Evolutionary db development
Evolutionary db development
 
DataScience SG | Undergrad Series | 26th Sep 19
DataScience SG | Undergrad Series | 26th Sep 19DataScience SG | Undergrad Series | 26th Sep 19
DataScience SG | Undergrad Series | 26th Sep 19
 
CodeQL a Powerful Binary Analysis Engine
CodeQL a Powerful Binary Analysis EngineCodeQL a Powerful Binary Analysis Engine
CodeQL a Powerful Binary Analysis Engine
 
Cd2Alloy
Cd2AlloyCd2Alloy
Cd2Alloy
 
Sw Software Design
Sw Software DesignSw Software Design
Sw Software Design
 
Malayalam Word Sense Disambiguation using Machine Learning Approach
Malayalam Word Sense Disambiguation using Machine Learning ApproachMalayalam Word Sense Disambiguation using Machine Learning Approach
Malayalam Word Sense Disambiguation using Machine Learning Approach
 
Assignment11
Assignment11Assignment11
Assignment11
 
Keyword-based Search and Exploration on Databases (SIGMOD 2011)
Keyword-based Search and Exploration on Databases (SIGMOD 2011)Keyword-based Search and Exploration on Databases (SIGMOD 2011)
Keyword-based Search and Exploration on Databases (SIGMOD 2011)
 

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

Principles of compiler design

  • 1. MODULE CODE:055CS603 MODULE NAME: PRINCIPLES OF COMPILER DESIGN PRESENTED BY: A.ALMA CANDIDA , B.Sc .,MCA., January 21, 2012 A.Alma Candida B.Sc.,MCA., DMI St.Eugene University
  • 2.
  • 3.
  • 4.
  • 5.
  • 6. Steps for Language Processing System January 21, 2012 A.Alma Candida B.Sc.,MCA., DMI St.Eugene University
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19. January 21, 2012 A.Alma Candida B.Sc.,MCA., DMI St.Eugene University
  • 20.
  • 21.
  • 22.
  • 23.
  • 24. PHASES OF THE COMPILER January 21, 2012 A.Alma Candida B.Sc.,MCA., DMI St.Eugene University
  • 25. January 21, 2012 A.Alma Candida B.Sc.,MCA., DMI St.Eugene University