patch applied (ghc): Split main/GHC into GHC and GhcMake
Simon Peyton-Jones
simonpj at microsoft.com
Tue Jan 25 17:26:07 CET 2011
BTW I drew a diagram of the top levels of the compiler, here
http://hackage.haskell.org/trac/ghc/wiki/Commentary/Pipeline
Simon
| -----Original Message-----
| From: cvs-ghc-bounces at haskell.org [mailto:cvs-ghc-bounces at haskell.org] On Behalf
| Of Simon Peyton Jones
| Sent: 25 January 2011 16:18
| To: cvs-ghc at haskell.org
| Subject: patch applied (ghc): Split main/GHC into GHC and GhcMake
|
| Tue Jan 25 08:16:32 PST 2011 simonpj at microsoft.com
| * Split main/GHC into GHC and GhcMake
|
| There are two things going on in main/GHC.hs.
| * It's the root module of the GHC package
| * It contains lots of stuff for --make
| It is also gigantic (2.7k lines)
|
| This patch splits it into two
| * GHC.hs is the root module for the GHC package
| (1.3k lines)
| * GhcMake.hs contains the stuff for --make
| (1.4k lines)
|
| Happily the functional split divided it almost
| exactly in half.
|
| This is a pure refactoring. There should be no
| behavioural change.
|
| M ./compiler/ghc.cabal.in +1
| M ./compiler/main/GHC.hs -1452 +56
| A ./compiler/main/GhcMake.hs
| M ./compiler/main/GhcMonad.hs -1 +22
|
| View patch online:
| http://darcs.haskell.org/cgi-
| bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20110125161632-1287e-
| 32910f170cb927d667dfacef35192177b0de53c7.gz
|
| _______________________________________________
| Cvs-ghc mailing list
| Cvs-ghc at haskell.org
| http://www.haskell.org/mailman/listinfo/cvs-ghc
More information about the Cvs-ghc
mailing list