Skip to content

Compiler

A program that translates source code into another target representation.

Software Development

What is a compiler?

A compiler translates source code into another target representation. This may be machine code or other source code. Which language rules and errors are checked depends on the tool. Compilation is not automatically the same as bundling files, testing or deploying an application.

In a fictional web project, portal.ts is translated into JavaScript output portal.js. The team checks diagnostics and settings chosen for the target environment. Whether output is emitted despite errors depends on the tool and configuration. A target file alone therefore proves neither freedom from errors, correct business behaviour nor publication. The output still needs to fit the required runtime conditions and intended workflows.

Sources

Articles on this topic

Software Development with ASES

Custom software, web and mobile apps