Changes

Jump to navigation Jump to search
329 bytes added ,  23:30, March 19, 2012
add link to diagram of compiler phases
Line 5: Line 5:  
| url = http://www.diku.dk/hjemmesider/ansatte/torbenm/Basics/
 
| url = http://www.diku.dk/hjemmesider/ansatte/torbenm/Basics/
 
| title = Basics of Compiler Design
 
| title = Basics of Compiler Design
−
| accessdate = 2012-03-19}}</ref>, Professor Torben Mogensen identifies seven phases within a compiler, with the various phases being performed in one or more passes over the program.
+
| accessdate = 2012-03-19}}</ref>, Professor Torben Mogensen identifies seven phases within a compiler, with the various phases being performed in one or more passes over the program. A diagram illustrating these (and other) phases is shown on the last page of Professor Frank Pfenning's "Lecture Notes on Compiler Design: Overview"<ref>{{cite web
 +
| url = http://www.cs.cmu.edu/~fp/courses/15411-f09/lectures/
 +
| format = pdf
 +
| title = Lecture Notes on Compiler Design: Overview
 +
| 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 source code into sequence of tokens, such as variable names, keywords, numbers, and special symbols such as '+'.
SkipCaptcha
265

edits

Navigation menu