(a) Explain all the necessary phases and passes in compiler design. W…
Previous year question for Compiler Design.
Question
(a) Explain all the necessary phases and passes in compiler design. Write down the purpose of each pass.
(b) What do you understand by left factoring? Consider the following grammar
$S \rightarrow iEtS \mid iEtSeS \mid a$
$E \rightarrow b$
Write the procedure for the above to eliminate left factoring.
- Year: 2018
- Subject: Compiler Design
Related pages
More PYQs on Typical Structure of a Compiler
- Explain five properties of a compiler. Discuss the structure and phases of a compiler with the help of a neat diagram. Also explain the difference between a co…
- (a) Discuss various phases of compilation. (b) Explain the concept of transition diagram as data structure
- (a) What are the different phases of Compiler? Explain the functions of each phase. Illustrate the output of each phase of compilation for the input with suita…