Changes between Version 31 and Version 32 of Commentary/Compiler/HscMain


Ignore:
Timestamp:
Aug 3, 2007 6:28:56 AM (7 years ago)
Author:
guest
Comment:

Fix GhcFile link to HscMain (add .lhs)

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Compiler/HscMain

    v31 v32  
    88There is a picture that goes with this description, which appears at the bottom of this page, but you'll probably find it easier to open [wiki:Commentary/Compiler/HscPipe this link] in another window, so you can see it at the same time as reading the text. 
    99 
    10 Look at the picture first.  The yellow boxes are compiler passes, while the blue stuff on the left gives the data type that moves from one phase to the next.  The entire pipeline for a single module is run by a module called !HscMain (in [[GhcFile(compiler/main/HscMain)]]).  Here are the steps it goes through: 
     10Look at the picture first.  The yellow boxes are compiler passes, while the blue stuff on the left gives the data type that moves from one phase to the next.  The entire pipeline for a single module is run by a module called !HscMain (in [[GhcFile(compiler/main/HscMain.lhs)]]).  Here are the steps it goes through: 
    1111 
    1212 * The program is initially parsed into the [wiki:Commentary/Compiler/HsSynType big HsSyn type]. {{{HsSyn}}} is parameterised over the types of the term variables it contains.  The first three passes (the front end) of the compiler work like this:[[BR]][[BR]]