Global Information Lookup Global Information

Compiler information


In computing, a compiler is a computer program that translates computer code written in one programming language (the source language) into another language (the target language). The name "compiler" is primarily used for programs that translate source code from a high-level programming language to a low-level programming language (e.g. assembly language, object code, or machine code) to create an executable program.[1][2]: p1 [3]

There are many different types of compilers which produce output in different useful forms. A cross-compiler produces code for a different CPU or operating system than the one on which the cross-compiler itself runs. A bootstrap compiler is often a temporary compiler, used for compiling a more permanent or better optimised compiler for a language.

Related software include decompilers, programs that translate from low-level languages to higher level ones; programs that translate between high-level languages, usually called source-to-source compilers or transpilers; language rewriters, usually programs that translate the form of expressions without a change of language; and compiler-compilers, compilers that produce compilers (or parts of them), often in a generic and reusable way so as to be able to produce many differing compilers.

A compiler is likely to perform some or all of the following operations, often called phases: preprocessing, lexical analysis, parsing, semantic analysis (syntax-directed translation), conversion of input programs to an intermediate representation, code optimization and machine specific code generation. Compilers generally implement these phases as modular components, promoting efficient design and correctness of transformations of source input to target output. Program faults caused by incorrect compiler behavior can be very difficult to track down and work around; therefore, compiler implementers invest significant effort to ensure compiler correctness.[4]

Compilers are not the only language processor used to transform source programs. An interpreter is computer software that transforms and then executes the indicated operations.[2]: p2  The translation process influences the design of computer languages, which leads to a preference of compilation or interpretation. In theory, a programming language can have both a compiler and an interpreter. In practice, programming languages tend to be associated with just one (a compiler or an interpreter).

  1. ^ "Encyclopedia: Definition of Compiler". PCMag.com. Retrieved 2 July 2022.
  2. ^ a b Compilers: Principles, Techniques, and Tools by Alfred V. Aho, Ravi Sethi, Jeffrey D. Ullman - Second Edition, 2007
  3. ^ Sudarsanam, Ashok; Malik, Sharad; Fujita, Masahiro (2002). "A Retargetable Compilation Methodology for Embedded Digital Signal Processors Using a Machine-Dependent Code Optimization Library". Readings in Hardware/Software Co-Design. Elsevier. pp. 506–515. doi:10.1016/b978-155860702-6/50045-4. ISBN 9781558607026. A compiler is a computer program that translates a program written in a high-level language (HLL), such as C, into an equivalent assembly language program [2].
  4. ^ Sun, Chengnian; Le, Vu; Zhang, Qirun; Su, Zhendong (2016). "Toward understanding compiler bugs in GCC and LLVM". Proceedings of the 25th International Symposium on Software Testing and Analysis. Issta 2016. pp. 294–305. doi:10.1145/2931037.2931074. ISBN 9781450343909. S2CID 8339241. {{cite book}}: |journal= ignored (help)

and 17 Related for: Compiler information

Request time (Page generated in 0.5932 seconds.)

Compiler

Last Update:

cross-compiler itself runs. A bootstrap compiler is often a temporary compiler, used for compiling a more permanent or better optimised compiler for a...

Word Count : 7724

List of compilers

Last Update:

single locale. Uses a GCC Front End. The EDGE C/C++ compiler is based on the Microtec C/C++ compiler. Last Open64 v5.0 uses GCC 4.2 as its Front End, which...

Word Count : 2009

GNU Compiler Collection

Last Update:

The GNU Compiler Collection (GCC) is an optimizing compiler produced by the GNU Project supporting various programming languages, hardware architectures...

Word Count : 4911

Compile time

Last Update:

the run time dynamicity. Most compilers have at least the following compiler phases (which therefore occur at compile-time): syntax analysis, semantic...

Word Count : 391

Java compiler

Last Update:

A Java compiler is a compiler for the Java programming language. Some Java compilers output optimized machine code for a particular hardware/operating...

Word Count : 185

Optimizing compiler

Last Update:

In computing, an optimizing compiler is a compiler that tries to minimize or maximize some attributes of an executable computer program. Common requirements...

Word Count : 5670

Compiled language

Last Update:

language can be implemented with a compiler or with an interpreter. A combination of both solutions is also common: a compiler can translate the source code...

Word Count : 430

Cross compiler

Last Update:

example, a compiler that runs on a PC but generates code that runs on Android devices is a cross compiler. A cross compiler is useful to compile code for...

Word Count : 3594

Incremental compiler

Last Update:

incremental compiler, developed by Steven P. Reiss in the early 1980s. GNU Compiler Collection has branched off its development with the IncrementalCompiler project...

Word Count : 845

Python compiler

Last Update:

Python compiler may refer to: Python, a native code compiler for CMU Common Lisp One of several compiler implementations for the Python programming language:...

Word Count : 59

Nvidia CUDA Compiler

Last Update:

Nvidia CUDA Compiler (NVCC) is a proprietary compiler by Nvidia intended for use with CUDA. CUDA code runs on both the CPU and GPU. NVCC separates these...

Word Count : 308

History of compiler construction

Last Update:

executable programs. The Production Quality Compiler-Compiler, in the late 1970s, introduced the principles of compiler organization that are still widely used...

Word Count : 6380

GNU Compiler for Java

Last Update:

Compiler for Java (GCJ) is a discontinued free compiler for the Java programming language. It was part of the GNU Compiler Collection. GCJ compiles Java...

Word Count : 864

Silicon compiler

Last Update:

A silicon compiler is an electronic design automation software tool that is used for high-level synthesis of integrated circuits. Such tool takes a user's...

Word Count : 498

Glasgow Haskell Compiler

Last Update:

The Glasgow Haskell Compiler (GHC) is a native or machine code compiler for the functional programming language Haskell. It provides a cross-platform...

Word Count : 1871

Bytecode

Last Update:

computing offers a bytecode compiler through the compiler package, now standard with R version 2.13.0. It is possible to compile this version of R so that...

Word Count : 1891

JavaCC

Last Update:

JavaCC (Java Compiler Compiler) is an open-source parser generator and lexical analyzer generator written in the Java programming language. JavaCC is...

Word Count : 250

PDF Search Engine © AllGlobal.net