[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
TurboCpp » BeginnersGuideToCurl » Curl Content Language » QbasicFAQ_Mouse » rs 485 » Euphoria » Taking Out the Garbage: NMEA Checksums » Art_Expressions_p1 » BeginnersGuideToBasic » gwbasic » compile

(Computer Science) Compile, to compile

Compiling refers to the act of turning human-readable source code into machine-readable binary code.
Compiling includes in itself various phases. These can be stated as below

  1. Lexical Analysis
  2. Syntax Analysis
  3. Semantic Analysis
  4. Code Generation
  5. Code Optimization
Lexical Analysis just deals with extracting tokens or words from the source code and passing on to the Syntax Analysis. 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. Semantic Analysis 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 Code Generation. Finally the code can be optimized for space or time by the Code Optimization.

'Compile' links



last edited (December 5, 2006) by bilderbikkel, Number of views: 34025, Current Rev: 8 (Diff)

[Edit this page]  [Page history]  [What links here]  [Discuss this topic]  [Printer Friendly]  

Members

Username:

Password:


Register
Forgot Password?




Programmers Heaven - for .NET, Java, C/C++ and WEB Developers!
© 1996-2008 Community Networks Ltd. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Site Management by Lars Hagelin at Kontantkort.se.