simonmar 2005/01/14 09:57:56 PST
Modified files:
ghc/compiler/basicTypes Module.lhs
ghc/compiler/compMan CompManager.lhs
ghc/compiler/main DriverMkDepend.hs DriverPipeline.hs
Finder.lhs GetImports.hs HscMain.lhs
ghc/compiler/parser Parser.y.pp
Log:
HEADS UP! You now need to use an up to date Happy from CVS to build
GHC. Happy version 1.15 will be released shortly.
Replace the slow hacked up String-based GetImports with one based on
the real Haskell parser. This requires a new addition to Happy to
support parsing partial files. We now avoid reading each source file
off the disk twice: once to get its module name and imports, and again
to parse it. Instead we just slurp it once, and cache the StringBuffer.
This should result in improved startup times for ghc --make,
especially when there are lots of source files.
Revision Changes Path
1.58 +18 -10 fptools/ghc/compiler/basicTypes/Module.lhs
1.156 +15 -4 fptools/ghc/compiler/compMan/CompManager.lhs
1.35 +4 -4 fptools/ghc/compiler/main/DriverMkDepend.hs
1.175 +9 -5 fptools/ghc/compiler/main/DriverPipeline.hs
1.74 +3 -1 fptools/ghc/compiler/main/Finder.lhs
1.12 +46 -105 fptools/ghc/compiler/main/GetImports.hs
1.202 +12 -6 fptools/ghc/compiler/main/HscMain.lhs
1.21 +18 -1 fptools/ghc/compiler/parser/Parser.y.pp
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc