Difference between revisions of "Compilation"

From Conservapedia
Jump to navigation Jump to search
Line 10: Line 10:
  
 
A software program that automatically performs this compilation process is called a '''compiler'''.
 
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/>
 +
[[Category:Law]]
 +
  
 
[[category:computer science]]
 
[[category:computer science]]

Revision as of 17:46, June 3, 2007

Compilation is the process of translating code written in a programming language into executable machine code. It consists of 4 steps:

1. Lexical analysis: convert source code into sequence of tokens.
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.[1]

References