SlideShare a Scribd company logo
2
Most read
3
Most read
Tell me and I’ll forget;
show me and I may remember;
involve me and I’ll understand
Preprocessor
Compiler
Assembler
Loader/Link Editor
Raw Code
Modified Source Program
Target Assembly Program
Re locatable Machine Code
Target Code
Lexical Analyzer
Syntax Analyzer
Semantic Analyzer
Intermediate Code Generator
Machine Independent Code Optimizer
Code Generator
Machine Dependent Code Optimizer
Symbol Table
Lexical Analyzer
Syntax Analyzer
Semantic Analyzer
Intermediate Code Generator
Machine Independent Code Optimizer
Code Generator
Machine Dependent Code Optimizer
Error Handle
Character Stream
Token Stream
Syntax Tree
Syntax Tree
Intermediate Representation
Intermediate Representation
Target Machine Code
Target Machine Code

More Related Content

PDF
Lecture 01 introduction to compiler
PPT
PPTX
Compiler construction tools
PPT
Compiler Design Basics
PPTX
Data Type in C Programming
PPTX
Fundamentals of Language Processing
PPTX
PPTX
Lecture 01 introduction to compiler
Compiler construction tools
Compiler Design Basics
Data Type in C Programming
Fundamentals of Language Processing

What's hot (20)

PPTX
Function in C program
PPT
PPTX
Lexical analysis - Compiler Design
PPTX
Array and string
PPT
Compiler Design Unit 1
PPTX
Input and Output In C Language
PPT
Python Programming ppt
PPTX
System Programming Overview
PPTX
Syntax Analysis in Compiler Design
PPT
Compiler Construction introduction
PPTX
Phases of compiler
PPTX
Lexical Analysis - Compiler Design
PPTX
FIT-Unit3 chapter2- Computer Languages
PPT
358 33 powerpoint-slides_3-pointers_chapter-3
PPTX
Compilers
PDF
Syntax analysis
PPTX
Code Optimization
PPTX
Compiler Chapter 1
PPT
Intermediate code generation (Compiler Design)
PPTX
Variadic functions
Function in C program
Lexical analysis - Compiler Design
Array and string
Compiler Design Unit 1
Input and Output In C Language
Python Programming ppt
System Programming Overview
Syntax Analysis in Compiler Design
Compiler Construction introduction
Phases of compiler
Lexical Analysis - Compiler Design
FIT-Unit3 chapter2- Computer Languages
358 33 powerpoint-slides_3-pointers_chapter-3
Compilers
Syntax analysis
Code Optimization
Compiler Chapter 1
Intermediate code generation (Compiler Design)
Variadic functions
Ad

Viewers also liked (12)

PPT
what is compiler and five phases of compiler
PPTX
Parallel language & compilers
PPTX
Compiler vs interpreter
DOC
PPT
Lexical analyzer
DOC
Compiler Design(NANTHU NOTES)
PPTX
Phases of Compiler
PPTX
Translators(Compiler, Assembler) and interpreter
PDF
Phases of the Compiler - Systems Programming
PPT
Compilers and interpreters
PDF
Different phases of a compiler
what is compiler and five phases of compiler
Parallel language & compilers
Compiler vs interpreter
Lexical analyzer
Compiler Design(NANTHU NOTES)
Phases of Compiler
Translators(Compiler, Assembler) and interpreter
Phases of the Compiler - Systems Programming
Compilers and interpreters
Different phases of a compiler
Ad

Recently uploaded (20)

PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
Construction Project Organization Group 2.pptx
PDF
Digital Logic Computer Design lecture notes
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
Foundation to blockchain - A guide to Blockchain Tech
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
PPT on Performance Review to get promotions
PPTX
Geodesy 1.pptx...............................................
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Model Code of Practice - Construction Work - 21102022 .pdf
Construction Project Organization Group 2.pptx
Digital Logic Computer Design lecture notes
Automation-in-Manufacturing-Chapter-Introduction.pdf
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Operating System & Kernel Study Guide-1 - converted.pdf
OOP with Java - Java Introduction (Basics)
Foundation to blockchain - A guide to Blockchain Tech
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPT on Performance Review to get promotions
Geodesy 1.pptx...............................................
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
R24 SURVEYING LAB MANUAL for civil enggi
Embodied AI: Ushering in the Next Era of Intelligent Systems

Phases of a Compiler

  • 1. Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand
  • 2. Preprocessor Compiler Assembler Loader/Link Editor Raw Code Modified Source Program Target Assembly Program Re locatable Machine Code Target Code Lexical Analyzer Syntax Analyzer Semantic Analyzer Intermediate Code Generator Machine Independent Code Optimizer Code Generator Machine Dependent Code Optimizer
  • 3. Symbol Table Lexical Analyzer Syntax Analyzer Semantic Analyzer Intermediate Code Generator Machine Independent Code Optimizer Code Generator Machine Dependent Code Optimizer Error Handle Character Stream Token Stream Syntax Tree Syntax Tree Intermediate Representation Intermediate Representation Target Machine Code Target Machine Code