A computer program that translates computer code written in one programming language (the source language) into another language (the target language).
"The compiler translates the high-level source code into machine code that the computer can execute."