From page 1 of Compilers: Principles, Techniques, and Tools": Simply stated, 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.