A computer language translator is a program that translates a set of code written in one programming language into a functional equivalent of the code in another programming language.
Translator – usually included within programming software – translators convert high-level code into machine code.
An assembler translates assembly language into machine code (also known as source code). Assembly language is a low-level language written in Mnemonics that closely reflects the operation of the CPU.
Interpreter translates code into machine code, instruction by instruction – the CPU executes each instruction before the interpreter moves on to translate the next instruction.
A compiler translates the whole program into machine code before the program is run.
- What is a translator
- List three types of translator
- Explain assemblers