compiler


Also found in: Dictionary, Thesaurus, Medical, Legal, Acronyms, Wikipedia.
Related to compiler: linker, Java compiler

compiler

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

compiler

[kəm′pīl·ər]
(computer science)
A program to translate a higher programming language into machine language. Also known as compiling routine.

compiler

(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.

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
  IF COUNT=10
  GOTO END-OF-JOB
   ELSE
  GOTO COMPUTE-AGAIN
  ENDIF

  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
  10010101001010001010100
  10101010010101001001010
  10100101010001010010010




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 ?
A graphic showing the C2R Compiler within the CebaTech design flow is available upon request.
Green Hills Software's royalty-free INTEGRITY and ThreadX real-time operating systems, fully integrated with its market leading compilers and MULTI Integrated Development Environment, provide a total development and run-time solution that addresses both deeply embedded and maximum-reliability applications.
The Intel compilers are specifically designed to help developers fully utilize the architectural innovations in the Intel Itanium and IA-32 processors, allowing for easy access to all of the performance features of Intel's latest processors.
We are using Encounter RTL Compiler for preconditioning the gate-level netlist before implementing the design using TAEC's Pinnacle flow based on SoC Encounter.
0 compiler, a command line debugger, and a Technology Preview of Absoft's new C/C++ compiler through a 12 month subscription license starting at only $299.
When custom processors are used for a wider range of applications or by a wide range of different customers, processor design teams have to deliver the best tailored optimizing compiler available.
Encounter RTL Compiler, Conformal Equivalence Checker, and Incisive functional verification combine to deliver a very strong offering that will improve our productivity and competitiveness.
The HPC SDK components include PathScale's Fortran and C/C++ compilers which generate the industry's fastest executable code for AMD Opteron processors, Absoft's Fortran 95 compilers for multi-platform compatibility, the Absoft Fx2 debugger for improved F95/C/C++ debugging, Absoft's Common Installer for quick and easy installation, the Absoft Modules environment for 32-bit and 64-bit software control, Absoft's Common License Manager, MPICH2, LAM/MPI, Absoft Examples and Benchmarks, AMD's Common Math Library support and other numerical libraries, and 12 months free continuing support.
According to Sunplus, Encounter RTL Compiler created a small enough design that engineers could meet their die size requirement with margin to spare.
has adopted Encounter(TM) RTL Compiler for its ASIC designs, further increasing momentum of RTL Compiler synthesis in Japan.
NYSE:CDN) (Nasdaq:CDN) today announced that Seiko Epson Corporation ("Epson") of Japan doubled productivity in the production tapeout of a high-volume LCD controller chip using Cadence(R) Encounter(TM) RTL Compiler synthesis.
NYSE:CDN) (Nasdaq:CDN) today announced that Nethra Imaging successfully taped out its first product, the NI-2050 image processor designed for mobile handset applications, using Cadence(R) Encounter(TM) RTL Compiler synthesis.