![](https://www.techmonitor.ai/wp-content/uploads/sites/29/2016/08/UploadsNewsArticle4967066main.jpg)
A compiler is a computer program that is designed to transform source code written in a programming language into another computer language.
Typically a programmer writes language statements in a language such as Pascal or C one line at a time using an editor and the file that is created contains source statements.
One this is created the programmer then runs a language compiler by specifying the name of the file that contains the source statements.