[project @ 2005-03-22 17:13:12 by simonmar]
authorsimonmar <unknown>
Tue, 22 Mar 2005 17:13:55 +0000 (17:13 +0000)
committersimonmar <unknown>
Tue, 22 Mar 2005 17:13:55 +0000 (17:13 +0000)
commit069370a53a92a68a6df163f07cec47b3d62632e7
treec15a2c7959788685c2a136927b6d5081d4efb004
parent46a5c73da0a79b20322c59b74b0ff031b8fa0ceb
[project @ 2005-03-22 17:13:12 by simonmar]
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.
13 files changed:
ghc/compiler/Makefile
ghc/compiler/compMan/CompManager.lhs [deleted file]
ghc/compiler/ghci/InteractiveUI.hs
ghc/compiler/ghci/Linker.lhs
ghc/compiler/iface/LoadIface.lhs
ghc/compiler/main/DriverMkDepend.hs
ghc/compiler/main/DriverPipeline.hs
ghc/compiler/main/Finder.lhs
ghc/compiler/main/GHC.hs
ghc/compiler/main/HscMain.lhs
ghc/compiler/main/HscTypes.lhs
ghc/compiler/main/Main.hs
ghc/compiler/typecheck/TcRnDriver.lhs