... | ... | @@ -4,7 +4,7 @@ |
|
|
GHC is structured into two parts:
|
|
|
|
|
|
- The `ghc` package (in subdirectory `compiler`), which implements almost all GHC's functionality. It is an ordinary Haskell library, and can be imported into a Haskell program by saying `import GHC`.
|
|
|
- The `ghc` binary (in subdirectory `ghc`) which implements imports the `ghc` package, and implements the I/O for the `ghci` interactive loop.
|
|
|
- The `ghc` binary (in subdirectory `ghc`) which imports the `ghc` package, and implements the I/O for the `ghci` interactive loop.
|
|
|
|
|
|
|
|
|
Here's an overview of the module structure of the top levels of GHC library. (Note: more precisly, this is the plan. Currently the module `Make` below is glommed into the giant module `GHC`.)
|
... | ... | |