Issue 13 · Nov 2–8, 2026Editions · Glossary · Archive · Method · RSS · HU / ENG

News of the AI era, curated weekly

Glossary › Developer basics

translator

in English: compiler

basicwidespread

A compiler is a program that transforms human-written code into a form executable by the computer, most often into machine code.

In plain terms

Programmers do not work with zeros and ones, but with programming languages that resemble a mix of English words and mathematical notation. The machine, however, does not understand this: it requires very simple instructions encoded into numbers. The compiler bridges this gap.

It is like a book translator: it receives the full manuscript, translates the whole thing at once, and from then on anyone can read the finished volume without the translator's presence. The translated program runs independently in the same way and is typically fast because the translation work was done in advance.

The compiler is also a strict proofreader: if the code breaks the language's rules, for example it contains a typo or tries to perform an operation on incompatible data, the compiler does not build the program but reports in an error message where the problem lies. Many errors are thus caught before the program even starts.

Its role has remained in the AI era. Code written by a coding agent must still be compiled, and the compiler's error messages provide immediate feedback to the agent on what needs to be fixed.

How it works

  1. Reading in: the compiler breaks the source code text into elementary pieces (words, numbers, punctuation), just as you split a sentence into words.
  2. Structural analysis (parsing): checks whether the pieces (tokens) combine according to the rules of the language and builds a tree-like outline of the program's structure from them.
  3. Semantic check: verifies that the code makes sense, for example that you are not trying to divide text by a number or using a name you never defined anywhere; if it finds an error, it reports it and does not produce a program.
  4. Optimization: it transforms the program so that it does the same thing but faster or with less memory, for example by skipping unnecessary steps.
  5. Code generation: produces machine code for a specific processor and operating system; this becomes the executable file. For some languages, intermediate code is generated instead, which is executed by a separate runtime program.

An everyday example

When you download an application to your phone, you receive the compiled version, not the source code written by developers. This is why a separate version of the same program is created for Windows, Mac, and phones: each machine requires compiling into different machine code.

Who is affected

developerThey use it daily, and the compiler's error messages are the first feedback on whether their code is good. → Code
parent, student, teacherThose learning to program often receive their first error messages from a compiler or interpreter, so it is worth understanding what they mean. → Education & Family
entrepreneur, executiveIt helps explain why a code change is not immediately visible in the product and why software must be built separately for each platform.
everyoneAlmost every program you use on your computer or phone has gone through a compiler of some kind.

A common misconception

MythIf the compiler compiled the program without errors, then the program works well.
In realityThe compiler checks only adherence to the language's rules, not whether the program does what you want. A program that compiles without errors can still calculate incorrectly, which is why separate testing is required.

Limits and risks

Similar, but not the same

Related concepts

Broader

development tool, software development, programming

Narrower

just-in-time (JIT) compilation, cross-compiler

On the edge

interpreter, source code, machine code, programming language, debugging, optimization, build

A brief history

The first program considered a compiler, the A-0 system, was created by American mathematician and computer scientist Grace Hopper in 1952, and the modern computer science usage of the word 'compiler' is also attributed to her. The A-0 system assembled pre-made program parts more than it translated in the modern sense. The first widely used, full-fledged compiler was the IBM FORTRAN compiler, developed by John Backus's team and released in 1957.

Where things stand

The compiler has been one of the basic tools of software development for decades. At the end of 2026, coding agents also run it routinely and fix their own code based on its error messages.

Status: 2026 November

In the news

Appears in 5 Agent Age stories; the curve shows weekly occurrence in the news magazine.

Also known as

translator · compiler · compiler · compiler · kompiler · compiler · compilation

This entry was machine-edited and has undergone machine expert review; the “In the news” section updates automatically from Agent Age stories.