Languageprocessor
Languageprocessor
Compiler Interpreter
Assembler
Compiler
• Compiler is used to translate an
high level programming language
code to machine level code and
to create an executable program.
• Compiler checks the error in the
program and reports them. All
errors are to be removed
otherwise code will not be
compiled and executed.
Interpreter
• Interpreter is a program that translates high
level language to machine code but one
statement at a time unlike compiler who
reads the whole program at once
• Interpret one instruction at a time.
Assembler
• Assembler is used to translate an
assembly level code to machine
readable code. Assembler too checks
the correctness of each instruction and
reports the diagnosis report.
input output
Linker
• Resolves the relative location of
instructions and data Lib Obj Obj
• Links libraries with the object and put
them together as executable.
Linker
• Combine different-different object file
into single executable file example .exe
in window operating system
Lib dll exe
Loader
• Inbuilt component of OS.
• Loads program in to main memory
and prepare them for execution
Review