translator,compiler,assembler

Translator
it is software thar convert source code to object and vice versa.

                                                     ------->                       -------->
Source code

  • Compiler:-
         A compiler is a computer program (or set of programs) that transforms source code written in a programming language (the source language) into another computer language .
  •  Assembler:-
        a computer program to translate between lower-level representations of computer programs; it converts basic computer instructions into a pattern of bits which can be easily understood by a computer and the processor can use it to perform its basic operations.
  • Interpreter:-
an interpreter normally means a computer program that executes,that is performs, instructions written in a programming language. An interpreter may be a program that either

  1. executes the source code directly
  2. translates source code into some efficient intermediate representation (code) and immediately executes this
  3. explicitly executes stored precompiled code made by a compiler which is part of the interpreter system
  4. it check line by line if error found then teriminate the programme.
  Translator
 Object code

Comments

Popular posts from this blog