Define compilers and translators

A compiler is a program that reads a program written in one language –  the source language – and translates it into an equivalent program in another language – the target language. As an important part of this translation process, the compiler reports to its user the presence of errors in the source program.

Compilers are sometimes classified as single-pass, multi-pass, load – and -go, debugging, or optimizing, depending on how they have been constructed or on what function they are supposed to perform.


The translator is a programming language processor that translates a program written in high-level or assembly language program to machine-understandable low-level machine language without losing the functionality of the code.

Leave a Reply