Changes

Jump to navigation Jump to search
539 bytes added ,  07:44, May 20, 2007
New page: '''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 co...
'''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.

[[category:computer science]]
6,068

edits

Navigation menu