Changes between Version 27 and Version 28 of Commentary/Compiler


Ignore:
Timestamp:
May 9, 2011 9:06:25 PM (3 years ago)
Author:
dterei
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Compiler

    v27 v28  
    4949The part called [wiki:Commentary/Compiler/HscMain 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: 
    5050 
    51  * GHCi, the interactive environment, is implemented in [[GhcFile(compiler/ghci/InteractiveUI.hs)]] and sits squarely on top of the GHC 
     51 * GHCi, the interactive environment, is implemented in [[GhcFile(compiler/main/InteractiveEval.hs)]] and sits squarely on top of the GHC 
    5252   API. 
    5353  
    54  * {{{--make}}} is almost a trivial client of the GHC API, and is implemented in [[GhcFile(compiler/main/Main.hs)]].  
     54 * {{{--make}}} is almost a trivial client of the GHC API, and is implemented in [[GhcFile(compiler/main/GhcMake.hs)]].  
    5555 
    5656 * {{{-M}}}, the Makefile dependency generator, is also a client of the GHC API and is implemented in 
     
    6363GHC 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)]]. 
    6464 
    65 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]. 
    66  
    67   
    68  
     65In addition, 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].