Jump to content

Compiler: Difference between revisions

added some wp links; some rephrasing
(improve the description)
(added some wp links; some rephrasing)
Line 1:
[[Category:Encyclopedia]]
[[Category:Encyclopedia]]A compiler reads the source code of a program, and produces machine code, [[bytecode]], or a transformation of the source into another form (e.g., into a language like [[C]]).
A compiler reads the source code of a program, and produces either [[wp:Machine code|machine code]] (instructions in a suitable format for the [[wp:Central processing unit|CPU]] to execute), [[bytecode]], or a translation of the source into some other form (often into a different language, i.e. [[:Category:C|C]] to [[:Category:Assembly|assembly]]).
 
When generating [[wp:Object file|object code]], it is often the case that the resulting code must be then passed to a [[wp:Linker (computing)|linking stage]] for conversion into an executable form. The linking stage is necessary for resolving references to libraries of code and adding any extra executable runtime that is required. (SomeDepending compilerson willthe automaticallycompiler linkin use, sometimes the codelinker foris you,a soseparate thisprogram stepfrom isthe notcompiler; alwaysother visibletimes, the compiler handles the linking itself.)
 
==See also==
1,150

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.