Skip to main content

Compiler

Computer Science

A program that translates source code into machine code.

A compiler reads code written in a high-level language and produces a lower-level representation β€” typically machine code or bytecode β€” that a computer can execute. This contrasts with an interpreter, which executes source code directly. Compilation catches many errors before the program runs.

← Back to full glossary