Skip to content
Languages & Dev Tools

Compiler

Definition

A compiler is a type of software that translates source code written in a high-level programming language into machine code that a computer's processor can execute. This process involves breaking down the source code into smaller parts, analyzing and optimizing them, and finally generating the machine code.

Worked example