Question 2 a) In the development of a compiler, the techniques used in compiler design can be applicable to many areas in computer science. Illustrate with examples, the areas of computer science that uses compiler design techniques.
Question 2
a) In the development of a compiler, the techniques used in compiler design can be
applicable to many areas in computer science. Illustrate with examples, the areas of
computer science that uses compiler design techniques.
b) Few people will be required to write a compiler for a general-purpose language like C,
Pascal, C++ etc. Discuss why do most computer science institutions offer compiler
courses.
c) A compiler can broadly be divided into two phases based on the way they compile.
Discuss with examples these two major phases.
d) Compilers are fundamental to modern computing. They act as translators, transforming
human-oriented
language processor like the interpreter share some of the functionality found in compilers,
such as syntactic and semantic analyses. However, interpreters differ from compilers in
that they execute programs without explicitly performing much translation. Clearly
distinguish and different between a compiler and an interpreter.
Step by step
Solved in 2 steps