Translator (computing)

This article is about translation of programming languages. For translation of natural languages, see machine translation.

A translator is a computer program that performs the translation of a program written in a given programming language into a functionally equivalent program in a different computer language, without losing the functional or logical structure of the original code (the "essence" of each program).[1] These include translations between high-level and human-readable computer languages such as C++, Java and COBOL, intermediate-level languages such as Java bytecode, low-level languages such as the assembly language and machine code, and between similar levels of language on different computing platforms, as well as from any of these to any other of these. Arguably they also include translators between software implementations and hardware/ASIC microchip implementations of the same program, and from software descriptions of a microchip to the logic gates needed to build it.

Examples of widely used types of computer languages translators include interpreters, compilers and decompilers, and assemblers and disassemblers.[2]

Types

References

  1. "COMS W4115: Programming Languages and Translators". cs.columbia.edu. December 24, 2013. Retrieved January 7, 2015.
  2. "Introduction to Programming using Python, Chapter 5. Program execution, Section 5.2. Interpreter and Compiler". pasteur.fr. February 4, 2008. Retrieved January 7, 2015.

External links