Can You Explain Different Phases Of A Compiler With An Example?

6

6 Answers

Anonymous Profile
Anonymous answered
Explain the various phases in the compiler in system software
John Nawrocki Profile
John Nawrocki answered
1. Lexical analysis - reads in source code and checks for minor errors. 2. Preprocessing - standardizes the source code. 3 Parsing - breaks the code up into logical parts. 3. Semantic analysis - checks for errors. 4. Code generation - generates machine code. 5. Code optimization - looks for ways to make code smaller and more efficient. 6. Executable generation - creates the output ( .exe, .com, .dll, etc.).
Anonymous Profile
Anonymous answered
Explain the phases of compiler in detail.
Anonymous Profile
Anonymous answered
Explain Different Phases Of A Compiler
HINA MURTAZA Profile
HINA MURTAZA answered
Any form you will fill up  whom who you submit he check it first you fill completely or not then he check format i.e syntax analysis then semantic analysis i.e you provide correct information or not and further.

Answer Question

Anonymous