Trivia: What is the main function of a compiler?


Page 33
The main function of a compiler is to translate source code written in a high-level programming language (like C, Java, or Python) into machine code (binary code) that a computer’s processor can execute.
Without a compiler, high-level programming languages wouldn't be usable by computers, as they only understand binary (0s and 1s).

