编译器做什么及其目的? [英] What compiler do and its purpose?
本文介绍了编译器做什么及其目的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
编译器做什么及其目的?
解决方案
维基百科提供了一个很好的解释:
https://en.wikipedia.org/wiki/Compiler [ ^ ]
第一句话的小引号,简而言之:
编译器是一个将以编程语言(源语言)编写的源代码转换为另一种计算机语言(目标语言,通常具有称为目标代码的二进制形式)的计算机程序(或程序集)。转换源代码的最常见原因是创建可执行程序。
编译器将高级编程语言(编写代码的语言)转换为低级别语言
What compiler do and its purpose?
解决方案
Wikipedia provides a good explanation for that:
https://en.wikipedia.org/wiki/Compiler[^]
A small quote of the first sentences, which explains it in short:
Quote of https://en.wikipedia.org/wiki/Compiler[^]:A compiler is a computer program (or set of programs) that transforms source code written in a programming language (the source language) into another computer language (the target language, often having a binary form known as object code). The most common reason for converting a source code is to create an executable program.
Compilers convert high level programming languages ( the language in which you write the code) into low level languages.
这篇关于编译器做什么及其目的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文