Skip to content
編譯器

File:Compiler.svg · Wikimedia Commons · See Wikimedia Commons

EntityQ47506· pop 103· linked from 2,191 articles

Also known as code compiler

將源代碼轉換為目標代碼的計算機程序

AI overview

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 9 more facts
described by source
Xavier Leroy
topic's main category
Category:Compilers
opposite of
decompiler
product or material produced
object code
Commons category
Compilers
on focus list of Wikimedia project
Wikipedia:Vital articles/Level/4
social media followers
14055
Sources (7)

via Wikidata · CC0

Article · 中文

編譯器(compiler)是一種電腦程式,它會將某種程式語言寫成的原始碼(原始語言)轉換成另一種程式語言(目標語言)。 它主要的目的是將便于人编写、阅读、维护的高级计算机语言所寫作的原始碼程式,翻译为计算机能解读、运行的低阶机器语言的程序,也就是執行檔。编译器将原始程序(source program)作为输入,翻译产生使用目标语言(target language)的等价程序。源代码一般为高阶语言(High-level language),如Pascal、C、C++、C# 、Java等,而目标语言则是汇编语言或目标机器的目标代码(Object code),有时也称作机器代码(Machine code)。 一个现代编译器的主要工作流程如下: 源代码(source code)→ 预处理器(preprocessor)→ 编译器(compiler)→ 汇编程序(assembler)→ 目标代码(object code)→ 链接器(linker)→ 執行檔(executables),最後打包好的檔案就可以給電腦去判讀執行了。

Abstract from DBpedia / Wikipedia · CC BY-SA

Gallery (9)