You are on page 1of 8

LANGUAGE

TRANSLATOR
LANGUAGE TRANSLATOR
• Language Translator -
• Language translator is a program which is used to
translate instructions that are written in the
source code to object code i.e. from high-
level language or assembly language into
machine language.
• There are 3 different types of translators as
1. Assembler
2. Compiler
3. Interpreter
LANGUAGE TRANSLATOR
ASSEMBLER
• Assembler are used to convert assembly language
code into machine code.
• Assembler convert mnemonic code in to object
code.
LANGUAGE TRANSLATOR
Compiler -

• Compiler translate high level language in


machine language.
• It read the entire program.
• It find the syntax error.
• Error in a program is called bug.
• Compiler convert source code into object
code.
LANGUAGE TRANSLATOR
Interpreter -
• An interpreter translates high-level instructions
into an intermediate form, which it then executes.
• It reads the program line by line.
• In contrast, a compiler translates high-level
instructions directly into machine language.
Compiled programs generally run faster than
interpreted programs.
LANGUAGE TRANSLATOR
• What is Linker - Linker is a program in a system
which helps to link a object modules of program
into a single object file.
• What is Loader- A loader is a major component of
an operating system that ensures all necessary
programs and libraries are loaded, which is
essential during the startup phase .
LANGUAGE TRANSLATOR
Thank You

You might also like