Changes

Jump to navigation Jump to search
14 bytes added ,  19:37, March 20, 2012
m
improve grammar/English
Line 11: Line 11:  
| accessdate = 2012-03-19}}</ref>
 
| accessdate = 2012-03-19}}</ref>
   −
:'''Lexical analysis''': convert source code into sequence of tokens, such as variable names, keywords, numbers, and special symbols such as '+'.
+
:'''Lexical analysis''': convert the source code into a sequence of tokens, such as variable names, keywords, numbers, and special symbols such as '+'.
   −
:'''Syntax analysis''' or '''parsing''': structure tokens into parse tree or syntax tree which represents the structure of the program.
+
:'''Syntax analysis''' or '''parsing''': arrange the tokens into a parse tree or syntax tree which represents the structure of the program.
   −
:'''Semantic analysis''': annotate parse tree with semantic actions, and perform various consistency checks.
+
:'''Semantic analysis''': annotate the parse tree with semantic actions, and perform various consistency checks.
    
:'''Intermediate code generation''': use the annotated parse tree to generate code in some simple machine-independent intermediate language.
 
:'''Intermediate code generation''': use the annotated parse tree to generate code in some simple machine-independent intermediate language.
SkipCaptcha
265

edits

Navigation menu