COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
what are the three translators
A
ASSEMBLER
B
COMPILER
C
INTERPRETER
D
TRANSFORMER
Explanation: 

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.

There is 1 question to complete.