simonmar 2005/03/22 09:14:00 PST
Modified files:
ghc/compiler Makefile
ghc/compiler/ghci InteractiveUI.hs Linker.lhs
ghc/compiler/iface LoadIface.lhs
ghc/compiler/main DriverMkDepend.hs DriverPipeline.hs
Finder.lhs GHC.hs HscMain.lhs
HscTypes.lhs Main.hs
ghc/compiler/typecheck TcRnDriver.lhs
Removed files:
ghc/compiler/compMan CompManager.lhs
Log:
A start on the GHC API:
Flesh out the GHC module so that it can replace CompManager. Now, the
clients that used CompManager consume the GHC API instead (namely
Main, DriverMkDepend, and InteractiveUI). Main is significantly
cleaner as a result.
The interface needs more work: in particular, getInfo returns results
in the form of IfaceDecls but we want to use full HsSyn and
Id/DataCon/Class across the boundary instead.
The interfaces for inspecting loaded modules are not yet implemented.
Revision Changes Path
1.290 +0 -3 fptools/ghc/compiler/Makefile
1.196 +197 -173 fptools/ghc/compiler/ghci/InteractiveUI.hs
1.55 +4 -4 fptools/ghc/compiler/ghci/Linker.lhs
1.29 +8 -7 fptools/ghc/compiler/iface/LoadIface.lhs
1.45 +23 -20 fptools/ghc/compiler/main/DriverMkDepend.hs
1.190 +112 -57 fptools/ghc/compiler/main/DriverPipeline.hs
1.80 +21 -23 fptools/ghc/compiler/main/Finder.lhs
1.2 +1347 -141 fptools/ghc/compiler/main/GHC.hs
1.207 +18 -14 fptools/ghc/compiler/main/HscMain.lhs
1.127 +91 -19 fptools/ghc/compiler/main/HscTypes.lhs
1.151 +75 -166 fptools/ghc/compiler/main/Main.hs
1.100 +2 -3 fptools/ghc/compiler/typecheck/TcRnDriver.lhs
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc