File:Compiler.svg · Wikimedia Commons · See Wikimedia Commons
compiler
Sign in to saveAlso known as code compiler
In computing, a compiler is software 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.
A compiler is software that translates computer code written in one programming language into another language, most commonly converting human-readable code into machine code that computers can execute. This translation process matters because it allows programmers to write instructions in languages designed for human understanding, while enabling those instructions to actually run on computer hardware.
AI-generated from the Wikipedia summary — may contain errors.
Wikidata facts
- Image
- Compiler.svg
Show 2 more facts
- Commons category
- Compilers
- social media followers
- 14055
Sources (7)
via Wikidata · CC0
~40 min read
Article
15 sectionsContents
- Comparison with interpreter
- History
- Compiler construction
- One-pass vs multi-pass compilers{{anchor|Single-pass}}
- Three-stage compiler structure
- Front end
- Middle end
- Back end
- Compiler correctness
- Compiled vis-à-vis interpreted languages
- Types
- See also
- Notes and references
- Further reading
- External links
In computing, a compiler is software 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.
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 optimized compiler for a language.
Gallery (9)
Available in 96 languages
- Español
- Français
- Deutsch
- 中文
- 日本語
- Русский
- Português
- Italiano
- العربية
- हिन्दी
- Afrikaans
- Albanian
- Aragonese
- Armenian
- Asturian
- azb
- Azerbaijani
- Bahasa Indonesia
Show 77 more
- Bangla
- Basque
- be_x_old
- Belarusian
- Bosnian
- Breton
- Bulgarian
- Burmese
- Catalan
- Central Kurdish
- Croatian
- Czech
- Danish
- Esperanto
- Estonian
- Filipino
- Finnish
- Galician
- Georgian
- Greek
- Hausa
- Hebrew
- Hungarian
- Icelandic
- Ido
- Iloko
- Interlingua
- Irish
- Kara-Kalpak
- Kazakh
- Kyrgyz
- Latin
- Latvian
- Lingua Franca Nova
- Lithuanian
- Lombard
- Luxembourgish
- Macedonian
- Malay
- Malayalam
- Mari
- Mirandese
- Mongolian
- Nederlands
- Nepali
- Norwegian
- Piedmontese
- Polski
- Punjabi
- Quechua
- Romanian
- Scots
- Serbian
- Serbian (Latin)
- simple
- Slovak
- Slovenian
- Svenska
- Swahili
- Tajik
- Tamil
- Telugu
- Tiếng Việt
- Türkçe
- Ukrainian
- Upper Sorbian
- Urdu
- Waray
- Western Panjabi
- Wu Chinese
- Yiddish
- Zaza
- zh_min_nan
- zh_yue
- فارسی
- ไทย
- 한국어
via Wikidata sitelinks · CC0