|
|
CONVERSION ERROR
|
|
|
|
|
|
Error: HttpError (HttpExceptionRequest Request {
|
|
|
host = "ghc.haskell.org"
|
|
|
port = 443
|
|
|
secure = True
|
|
|
requestHeaders = []
|
|
|
path = "/trac/ghc/wiki/Commentary/SourceTree"
|
|
|
queryString = "?version=1"
|
|
|
method = "GET"
|
|
|
proxy = Nothing
|
|
|
rawBody = False
|
|
|
redirectCount = 10
|
|
|
responseTimeout = ResponseTimeoutDefault
|
|
|
requestVersion = HTTP/1.1
|
|
|
}
|
|
|
(StatusCodeException (Response {responseStatus = Status {statusCode = 403, statusMessage = "Forbidden"}, responseVersion = HTTP/1.1, responseHeaders = [("Date","Sun, 10 Mar 2019 06:54:27 GMT"),("Server","Apache/2.2.22 (Debian)"),("Strict-Transport-Security","max-age=63072000; includeSubDomains"),("Vary","Accept-Encoding"),("Content-Encoding","gzip"),("Content-Length","259"),("Content-Type","text/html; charset=iso-8859-1")], responseBody = (), responseCookieJar = CJ {expose = []}, responseClose' = ResponseClose}) "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>403 Forbidden</title>\n</head><body>\n<h1>Forbidden</h1>\n<p>You don't have permission to access /trac/ghc/wiki/Commentary/SourceTree\non this server.</p>\n<hr>\n<address>Apache/2.2.22 (Debian) Server at ghc.haskell.org Port 443</address>\n</body></html>\n"))
|
|
|
|
|
|
Original source:
|
|
|
|
|
|
```trac
|
|
|
The top level of a GHC source tree looks like this:
|
|
|
|
|
|
=== Documentation ===
|
|
|
|
|
|
{{{ANNOUNCE}}}::
|
|
|
{{{HACKING}}}::
|
|
|
{{{LICENSE}}}::
|
|
|
{{{README}}}::
|
|
|
|
|
|
=== Configuration ===
|
|
|
|
|
|
The GNU autoconf machinery:
|
|
|
|
|
|
{{{aclocal.m4}}}::
|
|
|
{{{config.guess}}}::
|
|
|
{{{config.sub}}}::
|
|
|
{{{configure.ac}}}::
|
|
|
{{{install-sh}}}::
|
|
|
|
|
|
=== The Build System ===
|
|
|
|
|
|
See [wiki:Commentary/BuildSystem].
|
|
|
|
|
|
{{{Makefile}}}::
|
|
|
Top-level {{{Makefile}}}; {{{make}}} by itself does a full 2-stage
|
|
|
bootstrap of GHC, there are also targets for building source and
|
|
|
binary distributions. GHC requires
|
|
|
[http://www.gnu.org/software/make/ GNU make].
|
|
|
|
|
|
{{{mk/}}}::
|
|
|
The guts of the build system itself.
|
|
|
|
|
|
=== The Code ===
|
|
|
|
|
|
{{{compat/}}}::
|
|
|
A library of compatibility code used when bootstrapping GHC using an
|
|
|
older version of GHC. For example, we compile up the version of
|
|
|
Cabal from {{{libraries/Cabal}}} and include it in {{{libcompat}}},
|
|
|
this means that the GHC source code can assume the most recent
|
|
|
version of Cabal.
|
|
|
|
|
|
[wiki:Commentary/SourceTree/Compiler compiler/]::
|
|
|
[wiki:Commentary/Compiler The Compiler] itself: all Haskell code.
|
|
|
|
|
|
{{{driver/}}}::
|
|
|
Historically this contained the Perl script known as the GHC
|
|
|
"driver"; in GHC 5.00 the driver was rewritten in Haskell and
|
|
|
incorporated into GHC itself when we added GHCi and {{{--make}}}.
|
|
|
This directory still contains the [wiki:Commentary/Mangler mangler]
|
|
|
and the [wiki:Commentary/split splitter] Perl scripts, and a couple
|
|
|
of wrappers used to invoke GHC on Windows. Also the package
|
|
|
database constructed during a GHC build is stored in here.
|
|
|
|
|
|
[wiki:Commentary/SourceTree/Libraries libraries/]::
|
|
|
The libraries that are built and distributed with GHC.
|
|
|
|
|
|
[wiki:Commentary/SourceTree/Rts includes/]::
|
|
|
Header files for the Runtime System and for compiling Haskell via C.
|
|
|
|
|
|
[wiki:Commentary/SourceTree/Docs docs/]::
|
|
|
GHC documentation.
|
|
|
|
|
|
{{{quickcheck/}}}::
|
|
|
Some quickcheck tests for the compiler (may go away).
|
|
|
|
|
|
[wiki:Commentary/SourceTree/Rts rts/]::
|
|
|
The [wiki:Commentary/Rts Runtime System].
|
|
|
|
|
|
[wiki:Commentary/SourceTreeUtils utils/]::
|
|
|
Various utility programs, either used during the build itself or
|
|
|
distributed with GHC.
|
|
|
|
|
|
These two are optional, available as separate darcs repositories:
|
|
|
|
|
|
[wiki:Commentary/SourceTree/Testsuite testsuite/]::
|
|
|
The test suite.
|
|
|
[wiki:Commentary/SourceTree/Nofib nofib/]::
|
|
|
The NoFib benchmark suite (optional separate darcs repo).
|
|
|
|
|
|
=== Distribution ===
|
|
|
|
|
|
{{{darcs-all}}}::
|
|
|
a script for operating on the collection of darcs
|
|
|
repositories that makes up the GHC source tree (see GettingTheSources).
|
|
|
|
|
|
{{{distrib/}}}::
|
|
|
miscellany for building distributions.
|
|
|
|
|
|
{{{ghc.spec.in}}}::
|
|
|
RPM spec file
|
|
|
|
|
|
{{{InstallShield}}},{{{WindowsInstaller}}}::
|
|
|
Windows installer bits
|
|
|
|
|
|
``` |