SlideShare a Scribd company logo
2
Most read
5
Most read
7
Most read
The Analysis-Synthesis Model of Compilation:There are two parts of compilation:AnalysisSynthesis
The Analysis-Synthesis Model of Compilation:The analysis part breaks up the source program into constituent piecescreates an intermediate representation of the source program.
The Analysis-Synthesis Model of Compilation:The synthesis part constructs the desired target program from the intermediate representation.
The Analysis-Synthesis Model of Compilation:FrontEndBackEndIRsourcecodemachinecodeerrors
The Analysis-Synthesis Model of Compilation:During analysis, the operations implied by the source program are determined and recorded in a hierarchical structure called a tree. Often, a special kind of tree called a syntax tree is used.
The Analysis-Synthesis Model of Compilation:In syntax tree each node represents an operation and the children of the node represent the arguments of the operation.For example, a syntax tree of an assignment statement is shown below.
The Analysis-Synthesis Model of Compilation:

More Related Content

PPTX
Recognition-of-tokens
Dattatray Gandhmal
 
PPTX
Decision tree induction \ Decision Tree Algorithm with Example| Data science
MaryamRehman6
 
PPTX
Lexical analyzer generator lex
Anusuya123
 
PPTX
Lexical analysis - Compiler Design
Muhammed Afsal Villan
 
PPTX
Input-Buffering
Dattatray Gandhmal
 
PPTX
Phases of Compiler
Tanzeela_Hussain
 
PPTX
Paging and segmentation
Piyush Rochwani
 
PPTX
Syntax Analysis in Compiler Design
MAHASREEM
 
Recognition-of-tokens
Dattatray Gandhmal
 
Decision tree induction \ Decision Tree Algorithm with Example| Data science
MaryamRehman6
 
Lexical analyzer generator lex
Anusuya123
 
Lexical analysis - Compiler Design
Muhammed Afsal Villan
 
Input-Buffering
Dattatray Gandhmal
 
Phases of Compiler
Tanzeela_Hussain
 
Paging and segmentation
Piyush Rochwani
 
Syntax Analysis in Compiler Design
MAHASREEM
 

What's hot (20)

PPTX
Tree pruning
Shivangi Gupta
 
PDF
Syntax directed translation
Akshaya Arunan
 
PPT
Type Checking(Compiler Design) #ShareThisIfYouLike
United International University
 
PPTX
Elements of dynamic programming
Tafhim Islam
 
PPTX
Mathematical Analysis of Non-Recursive Algorithm.
mohanrathod18
 
PPTX
Asymptotic Notations
Rishabh Soni
 
PPTX
Code Optimization
Akhil Kaushik
 
PPTX
Timestamp based protocol
Vincent Chu
 
PPTX
Communication in Distributed Systems
Dilum Bandara
 
PPTX
Raster scan system & random scan system
shalinikarunakaran1
 
PPTX
Compiler Chapter 1
Huawei Technologies
 
PPTX
Agents in Artificial intelligence
Lalit Birla
 
PPTX
Phases of compiler
Akhil Kaushik
 
PDF
Logic programming (1)
Nitesh Singh
 
PPT
14. Query Optimization in DBMS
koolkampus
 
PPT
Intermediate code generation (Compiler Design)
Tasif Tanzim
 
PPTX
Relationship Among Token, Lexeme & Pattern
Bharat Rathore
 
PPTX
supervised learning
Amar Tripathi
 
PDF
Confusion Matrix Explained
Stockholm University
 
Tree pruning
Shivangi Gupta
 
Syntax directed translation
Akshaya Arunan
 
Type Checking(Compiler Design) #ShareThisIfYouLike
United International University
 
Elements of dynamic programming
Tafhim Islam
 
Mathematical Analysis of Non-Recursive Algorithm.
mohanrathod18
 
Asymptotic Notations
Rishabh Soni
 
Code Optimization
Akhil Kaushik
 
Timestamp based protocol
Vincent Chu
 
Communication in Distributed Systems
Dilum Bandara
 
Raster scan system & random scan system
shalinikarunakaran1
 
Compiler Chapter 1
Huawei Technologies
 
Agents in Artificial intelligence
Lalit Birla
 
Phases of compiler
Akhil Kaushik
 
Logic programming (1)
Nitesh Singh
 
14. Query Optimization in DBMS
koolkampus
 
Intermediate code generation (Compiler Design)
Tasif Tanzim
 
Relationship Among Token, Lexeme & Pattern
Bharat Rathore
 
supervised learning
Amar Tripathi
 
Confusion Matrix Explained
Stockholm University
 
Ad

Similar to The analysis synthesis model of compilation (20)

PDF
I AM SAM web app
John Ray Martinez
 
PDF
Reverse Architecting using Relation Algebra.pdf
Dharmalingam Ganesan
 
PDF
Lecture 2.1 - Phase of a Commmmpiler.pdf
AbuZahed5
 
PDF
Software Engineering Tools and Practices.pdf
MeagGhn
 
PDF
Structure of a Compiler, Compiler and Interpreter, Lexical Analysis: Role of ...
GunjalSanjay
 
PPTX
Chapter-1.pptx compiler Design Course Material
gadisaAdamu
 
PPTX
Compilers
Satyamevjayte Haxor
 
PDF
Assignment1
Sunita Milind Dol
 
PDF
Conjoint.pdf
ssuserf1863b
 
PDF
An effective citation metadata extraction process based on BibPro parser
IOSR Journals
 
PPTX
Templates, partials and layouts
Kadiv Vech
 
PDF
1588147798Begining_ABUAD1.pdf
SemsemSameer1
 
PPTX
data summarization.pptx
Alsayed Algergawy
 
PPT
what is compiler and five phases of compiler
adilmehmood93
 
PPTX
Introduction to Compilers
vijaya603274
 
PDF
Intelligent Systems Project: Bike sharing service modeling
Alessio Villardita
 
PDF
Ase02 dmp.ppt
Yann-Gaël Guéhéneuc
 
PDF
Poster Vensim Repast
Andreas Größler
 
PDF
7.1-Midterm-review-and-examplessssssss.pdf
SuziSimonovska1
 
PPT
1 - Introduction to Compilers.ppt
Rakesh Kumar
 
I AM SAM web app
John Ray Martinez
 
Reverse Architecting using Relation Algebra.pdf
Dharmalingam Ganesan
 
Lecture 2.1 - Phase of a Commmmpiler.pdf
AbuZahed5
 
Software Engineering Tools and Practices.pdf
MeagGhn
 
Structure of a Compiler, Compiler and Interpreter, Lexical Analysis: Role of ...
GunjalSanjay
 
Chapter-1.pptx compiler Design Course Material
gadisaAdamu
 
Assignment1
Sunita Milind Dol
 
Conjoint.pdf
ssuserf1863b
 
An effective citation metadata extraction process based on BibPro parser
IOSR Journals
 
Templates, partials and layouts
Kadiv Vech
 
1588147798Begining_ABUAD1.pdf
SemsemSameer1
 
data summarization.pptx
Alsayed Algergawy
 
what is compiler and five phases of compiler
adilmehmood93
 
Introduction to Compilers
vijaya603274
 
Intelligent Systems Project: Bike sharing service modeling
Alessio Villardita
 
Ase02 dmp.ppt
Yann-Gaël Guéhéneuc
 
Poster Vensim Repast
Andreas Größler
 
7.1-Midterm-review-and-examplessssssss.pdf
SuziSimonovska1
 
1 - Introduction to Compilers.ppt
Rakesh Kumar
 
Ad

More from Huawei Technologies (11)

PPT
Mian Nawaz Sharif PMLN
Huawei Technologies
 
PPT
Mian nawaz sharif pmln
Huawei Technologies
 
PPTX
Biography of nawaz sharif
Huawei Technologies
 
PPT
Analysis of the source program
Huawei Technologies
 
PPT
What is Compiler?
Huawei Technologies
 
PPT
Binary signal, Uni-polar,
Huawei Technologies
 
PPT
Data encryption, Description, DES
Huawei Technologies
 
PPT
Error correction, ARQ, FEC
Huawei Technologies
 
PPT
Error control, parity check, check sum, vrc
Huawei Technologies
 
PPT
Asynchronous and synchronous operation
Huawei Technologies
 
PPT
Binary Codes
Huawei Technologies
 
Mian Nawaz Sharif PMLN
Huawei Technologies
 
Mian nawaz sharif pmln
Huawei Technologies
 
Biography of nawaz sharif
Huawei Technologies
 
Analysis of the source program
Huawei Technologies
 
What is Compiler?
Huawei Technologies
 
Binary signal, Uni-polar,
Huawei Technologies
 
Data encryption, Description, DES
Huawei Technologies
 
Error correction, ARQ, FEC
Huawei Technologies
 
Error control, parity check, check sum, vrc
Huawei Technologies
 
Asynchronous and synchronous operation
Huawei Technologies
 
Binary Codes
Huawei Technologies
 

Recently uploaded (20)

PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
Doc9.....................................
SofiaCollazos
 
PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
The Future of Artificial Intelligence (AI)
Mukul
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
Doc9.....................................
SofiaCollazos
 
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 

The analysis synthesis model of compilation

  • 1. The Analysis-Synthesis Model of Compilation:There are two parts of compilation:AnalysisSynthesis
  • 2. The Analysis-Synthesis Model of Compilation:The analysis part breaks up the source program into constituent piecescreates an intermediate representation of the source program.
  • 3. The Analysis-Synthesis Model of Compilation:The synthesis part constructs the desired target program from the intermediate representation.
  • 4. The Analysis-Synthesis Model of Compilation:FrontEndBackEndIRsourcecodemachinecodeerrors
  • 5. The Analysis-Synthesis Model of Compilation:During analysis, the operations implied by the source program are determined and recorded in a hierarchical structure called a tree. Often, a special kind of tree called a syntax tree is used.
  • 6. The Analysis-Synthesis Model of Compilation:In syntax tree each node represents an operation and the children of the node represent the arguments of the operation.For example, a syntax tree of an assignment statement is shown below.