Download Definitions SLO # 1.5.1 TRANSLATOR:

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Program optimization wikipedia , lookup

Go (programming language) wikipedia , lookup

One-pass compiler wikipedia , lookup

C Sharp (programming language) wikipedia , lookup

Compiler wikipedia , lookup

Assembly language wikipedia , lookup

Interpreter (computing) wikipedia , lookup

Transcript
Definitions SLO # 1.5.1
October 4, 2010
TRANSLATOR:
Translator is defined as a computer program that converts instructions written in one language
to another in terms of computer language.
COMPILER:
A compiler is a computer program (or set of programs) that transforms source written in
a programming language (the source language) into another computer language (the target
language, often having a binary form known as object code). The most common reason for
wanting to transform source code is to create an executable program.
The name "compiler" is primarily used for programs that translate source code from a highlevel programming language to a lower level language (e.g., assembly language or machine
code).
INTERPRETER:
These translators translate only one instruction at a time and execute it. After execution the
translation is erased from memory and next instruction is loaded for translation. Therefore
translation is required again if the program is executed again. It is a limitation of interpreters
that it forgets translation after execution of instruction.
ASSEMBLER:
The Assemblers are language translators for low level symbolic language programs. Assemblers
can translates source programs into object programs. And Assembler translates one source
instruction into exact one machine code. The linking process is required on the object program
to be able to execute it. Each low level symbolic language has its own assembler.
www.tec.edu.pk
Page 1