Sunday, 12 February 2017

different translators

assembler


  • translates assembly language program into machine code


compiler


  • takes source code of a high level language and translates into object code
  • looks at the entire source code to translate and optimize the instructions 
  • the compiler will produce object code that can be distributed to people who do not need the development environment to execute the code.

interpreter

  • an interpreter analyses and executes source code line by line 
  • as each statement is analysed, the interpreter calls routines to carry out each instruction

No comments:

Post a Comment