[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
compile
Displaying differences between revision 7 and the latest revision
= (Computer Science) Compile, to compile =
Compiling refers to the act of turning human-readable source code into machine-readable binary code.[br]
Compiling includes in itself various phases. These can be stated as below [br][br]
[b]
# Lexical Analysis
# Syntax Analysis
# Semantic Analysis
# Code Generation
# Code Optimization
[/b]
[b]Lexical Analysis[/b] just deals with extracting tokens or words from the source code and passing on to the [b]Syntax Analysis[/b]. Syntax Analyzer analyzes the sequence of tokens and checks whether it matches with any of the grammar for the syntax of the compiler programming language. [b]Semantic Analysis[/b] checks for errors which cannot be detected by grammars. Then code is generated (in assembly or directly in the form of m/c code) by the [b]Code Generation[/b]. Finally the code can be optimized for space or time by the [b]Code Optimization[/b].
== 'Compile' links ==
* C
* C++
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
compile
Displaying differences between revision 7 and the latest revision
= (Computer Science) Compile, to compile =
Compiling refers to the act of turning human-readable source code into machine-readable binary code.[br]
Compiling includes in itself various phases. These can be stated as below [br][br]
[b]
# Lexical Analysis
# Syntax Analysis
# Semantic Analysis
# Code Generation
# Code Optimization
[/b]
[b]Lexical Analysis[/b] just deals with extracting tokens or words from the source code and passing on to the [b]Syntax Analysis[/b]. Syntax Analyzer analyzes the sequence of tokens and checks whether it matches with any of the grammar for the syntax of the compiler programming language. [b]Semantic Analysis[/b] checks for errors which cannot be detected by grammars. Then code is generated (in assembly or directly in the form of m/c code) by the [b]Code Generation[/b]. Finally the code can be optimized for space or time by the [b]Code Optimization[/b].
== 'Compile' links ==
* C
* C++
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
