(redirected from Compilers)
Also found in: Dictionary, Thesaurus, Medical, Legal.


a computer program by which a high-level programming language, such as COBOL or FORTRAN, is converted into machine language that can be acted upon by a computer


(computer science)
A program to translate a higher programming language into machine language. Also known as compiling routine.


(programming, tool)
A program that converts another program from some source language (or programming language) to machine language (object code). Some compilers output assembly language which is then converted to machine language by a separate assembler.

A compiler is distinguished from an assembler by the fact that each input statement does not, in general, correspond to a single machine instruction or fixed sequence of instructions. A compiler may support such features as automatic allocation of variables, arbitrary arithmetic expressions, control structures such as FOR and WHILE loops, variable scope, input/ouput operations, higher-order functions and portability of source code.

AUTOCODER, written in 1952, was possibly the first primitive compiler. Laning and Zierler's compiler, written in 1953-1954, was possibly the first true working algebraic compiler.

See also byte-code compiler, native compiler, optimising compiler.


(1) Software that converts a set of high-level language statements into a lower-level representation. For example, a help compiler converts a text document embedded with appropriate commands into an online help system. A dictionary compiler converts terms and definitions into a dictionary lookup system.

(2) Software that translates a program written in a high-level programming language (C/C++, COBOL, etc.) into machine language. A compiler usually generates assembly language first and then translates the assembly language into machine language. A utility known as a "linker" then combines all required machine language modules into an executable program that can run in the computer. See optimizing compiler.

The following is a conceptual example of source code being converted to assembly language and machine code by the compiler:

Source Code

  Assembly Language  Machine Language
  Compare A to B     Compare 3477 2883
  If equal go to C   If = go to 23732
  Go to D            Go to 23119

  Machine Code

From C to Assembly Language
A C/C++ compiler converts C and C++ code into assembly language as shown in this example. The red arrows point to various function calls, and the assembly code to perform those calls follows each statement.

Compilers and Interpreters
Compiled programs (right) are translated into the machine language of the target computer. Interpreted programs (left and center) are either kept in their original source code or are precompiled into an intermediate form. In both cases, an interpreter is required to translate the program into machine language at runtime, whereas the compiled program is "ready to go."
References in periodicals archive ?
0 of the EKOPath Compiler Suite continues to extend its performance lead over alternative compiler products.
6 of our compiler contains many advanced features that make it easier for designers to develop ultra-fast, compact code under real-world conditions," said John Carbone, vice president of marketing for Green Hills Software.
SAN FRANCISCO -- The Itanium(R) Solutions Alliance today announced sponsorship of Itanium(R) processor-specific improvements on the GNU Compiler Collection (GCC) coordinated by the Gelato Federation, the global technical community dedicated to the advancement of Linux on the Itanium platform.
The availability of the rich feature set and advanced capabilities of Etnus TotalView for complex codes, along with the sophisticated compilers Intel offers, will facilitate application development for a broad range of current and new Intel users on Linux," says Rich Collier, Vice President, Engineering, Etnus.
We have seen exceptional results during our thorough testing of the beta versions of the Intel compilers for Mac OS X," said Jeff Livesay, Absoft Corporation's chief operating officer.
Our Custom-Touch STAR compiler is being adopted by system designers who require access to a large selection of high-quality memory cores that are complete and easy to integrate," said Krishna Balachandran, Virage Logic director of product marketing.
In addition to being fully source compatible with existing Absoft F95 compilers, Absoft Fortran 95 V10.
Compiler design is a complex task with a long learning curve, typically limited to very few experts in semiconductor houses.
The PathScale EKOPath compilers included with the SDK have established themselves as the de facto standard for creating the fastest executable applications available on AMD64.
The complete Green Hills Software solution for Freescale's MPC5500 processor is available today, including MULTI, VLE-enabled C/C++ compilers, INTEGRITY RTOS, velOSity microkernel, SuperTrace Probe, TimeMachine Debugger, Green Hills Probe and Slingshot.
The combination of Renesas' M16C MCU, and Altium's TASKING M16C software development toolset enhanced with next generation VIPER compiler technology, enables engineers to develop high-performance and superior applications.