Changes between Version 7 and Version 8 of Commentary/Compiler


Ignore:
Timestamp:
Oct 20, 2006 9:57:50 PM (8 years ago)
Author:
simonpj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Compiler

    v7 v8  
    3535[[Image(ghc-top.png)]] 
    3636 
    37 The part called '''!HscMain''' deals with compiling a single module.  On top of this is built the '''compilation manager''' (in blue) that manages the compilation of multiple modules.  It exports an interface called the '''GHC API'''.  On top of this API are four small front ends: 
     37The part called '''HscMain''' deals with compiling a single module.  On top of this is built the '''compilation manager''' (in blue) that manages the compilation of multiple modules.  It exports an interface called the '''GHC API'''.  On top of this API are four small front ends: 
    3838 
    3939 * GHCi, the interactive environment, is implemented in [[GhcFile(compiler/ghci/InteractiveUI.hs)]] and sits squarely on top of the GHC 
     
    5151GHC is packaged as a single binary in which all of these front-ends are present, selected by the command-line flags indicated above.  There is a single command-line interface implemented in [[GhcFile(compiler/main/Main.hs)]]. 
    5252 
    53 In adition, GHC is compiled, without its front ends, as a ''library'' which can be imported by any Haskell program; see [[wiki:Commentary/Compiler/API the GHC API]]. 
     53In adition, GHC is compiled, without its front ends, as a ''library'' which can be imported by any Haskell program; see [wiki:Commentary/Compiler/API the GHC API]. 
    5454 
    5555