ADVANCED TOPICS IN COMPILER DESIGN
CODE GENERATION FOR OBJECT ORIENTED LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
ASSEMBLER
|
|
COMPILER
|
|
INTERPRETER
|
|
TRANSFORMER
|
Detailed explanation-1: -Generally, there are three types of translator: compilers. interpreters. assemblers.
Detailed explanation-2: -Generally, there are three types of translator: compilers. interpreters. assemblers.
Detailed explanation-3: -Some popular examples of Interpreters used nowadays are: Python interpreter. Ruby interpreter. Perl interpreter.
Detailed explanation-4: -What are some interpreter examples? Python interpreter, PERL interpreter, Ruby interpreter, PHP interpreter, and others are examples of interpreters.
Detailed explanation-5: -It converts the whole program into machine code at once. It translates only one statement at a time. It takes more time to analyze the source code. In other words, compile time is more. It generates an intermediate object code. The whole program is compiled and then it shows all the errors together.