Difference between revisions of "Compilation"

From Conservapedia
Jump to navigation Jump to search
(transfer text re computer compilation to compiler)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
−
'''Compilation''' is the process of translating code written in a programming language into executable machine code. It consists of 4 steps:
+
==Legal meaning==
 +
A '''compilation''' is a work formed by the collection and assembling of preexisting materials or of data that are selected, coordinated, or arranged in such a way that the resulting work as a whole constitutes an original work of authorship. The term "compilation" includes collective works.<ref>The [[Copyright Act]], [[17 U.S.C. § 101]].</ref>
  
−
:1. '''Lexical analysis''': convert source code into sequence of tokens.
+
==Computer-related meaning==
−
 
+
'''Compilation''' is the process of translating source code written in a high-level [[programming language]] into executable machine code. The program which performs this process is called a [[compiler]].
−
:2. '''Syntactic analysis''': structure tokens into parse tree.
 
−
 
 
−
:3. '''Semantic analysis''': annotate parse tree with semantic actions.
 
−
 
 
−
:4. '''Code generation''': produce the final machine code.
 
−
 
 
−
A software program that automatically performs this compilation process is called a '''compiler'''.
 
−
 
 
−
== Legal meaning ==
 
−
 
 
−
A "compilation" is a work formed by the collection and assembling of preexisting materials or of data that are selected, coordinated, or arranged in such a way that the resulting work as a whole constitutes an original work of authorship. The term "compilation" includes collective works.<ref>The [[Copyright Act]], [[17 U.S.C. § 101]].</ref>
 
  
 
== References ==
 
== References ==
Line 20: Line 10:
  
  
−
[[category:computer science]]
+
[[Category:Computer Science]]

Latest revision as of 19:46, March 18, 2012

Legal meaning

A compilation is a work formed by the collection and assembling of preexisting materials or of data that are selected, coordinated, or arranged in such a way that the resulting work as a whole constitutes an original work of authorship. The term "compilation" includes collective works.[1]

Computer-related meaning

Compilation is the process of translating source code written in a high-level programming language into executable machine code. The program which performs this process is called a compiler.

References