释义 |
compiler
com·pil·er C0527500 (kəm-pī′lər)n.1. One that compiles: a compiler of anthologies.2. Computers A program that translates another program written in a high-level language into machine language so that it can be executed.compiler (kəmˈpaɪlə) n1. a person who collects or compiles something2. (Computer Science) 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. Compare assemblercom•pil•er (kəmˈpaɪ lər) n. 1. a person who compiles. 2. a computer program that translates a program written in a high-level language into another language. Compare interpreter (def. 2). ThesaurusNoun | 1. | compiler - a person who compiles information (as for reference purposes)encyclopaedist, encyclopedist - a person who compiles information for encyclopediaslexicographer, lexicologist - a compiler or writer of a dictionary; a student of the lexical component of languageauthor, writer - writes (books or stories or articles or the like) professionally (for pay) | | 2. | compiler - (computer science) a program that decodes instructions written in a higher order language and produces an assembly language programcompiling programcomputer science, computing - the branch of engineering science that studies (with the aid of computers) computable processes and structurescomputer program, computer programme, programme, program - (computer science) a sequence of instructions that a computer can interpret and execute; "the program required several hundred lines of code"C compiler - a compiler for programs written in CFortran compiler - a compiler for programs written in FORTRANLISP compiler - a compiler for programs written in LISPPascal compiler - a compiler for programs written in Pascalparser - a computer program that divides code up into functional components; "compilers must parse source code in order to translate it into object code" | Translationscompile (kəmˈpail) verb to make (a book, table etc) from information collected from other books etc. He compiled a French dictionary. 編纂,彙編 编写,编辑 compilation (kompiˈleiʃən) noun 彙編,編纂 汇编,编辑 comˈpiler noun 編纂者 编著者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 programfrom some source language (or programming language) tomachine language (object code). Some compilers outputassembly language which is then converted to machine language by a separate assembler.
A compiler is distinguished from an assembler by the fact thateach input statement does not, in general, correspond to asingle machine instruction or fixed sequence of instructions.A compiler may support such features as automatic allocationof variables, arbitrary arithmetic expressions, controlstructures such as FOR and WHILE loops, variable scope,input/ouput operations, higher-order functions andportability of source code.
AUTOCODER, written in 1952, was possibly the first primitivecompiler. Laning and Zierler's compiler, written in1953-1954, was possibly the first true working algebraiccompiler.
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." | MedicalSeemachine languageLegalSeeCompilationAcronymsSeecompiledcompiler Related to compiler: linker, Java compilerSynonyms for compilernoun a person who compiles information (as for reference purposes)Related Words- encyclopaedist
- encyclopedist
- lexicographer
- lexicologist
- author
- writer
noun (computer science) a program that decodes instructions written in a higher order language and produces an assembly language programSynonymsRelated Words- computer science
- computing
- computer program
- computer programme
- programme
- program
- C compiler
- Fortran compiler
- LISP compiler
- Pascal compiler
- parser
|