A compiler is a special type of computer program designed to translate source code written in a high-level programming language into a lower-level language, typically machine code or object code, that a computer's processor can directly understand and execute.
Therefore, the program that converts an entire program into machine language is a compiler.