Commit 71d1546a authored by keithw's avatar keithw
Browse files

[project @ 2002-02-19 11:04:37 by keithw]

Some thoughts on `what happens when'.
parent 80f067ce
......@@ -70,6 +70,21 @@
<h2>What Happens When</h2>
Inside the Haskell compiler proper (<code>hsc</code>), a whole series of
stages (``passes'') are executed in order to transform your Haskell program
into C or native code. This process is orchestrated by
<code>main/HscMain.hscMain</code> and its relative
<code>hscReComp</code>. The latter directly invokes, in order,
the parser, the renamer, the typechecker, the desugarer, the
simplifier (Core2Core), the CoreTidy pass, the CorePrep pass,
conversion to STG (CoreToStg), the interface generator
(MkFinalIface), the code generator, and code output. The
simplifier is the most complex of these, and is made up of many
sub-passes. These are controlled by <code>buildCoreToDo</code>,
as described below.
<h2>Scheduling Optimisations Phases</h2>
GHC has a large variety of optimisations at its disposal, many of which
......@@ -157,7 +172,7 @@
<!-- hhmts start -->
Last modified: Tue Nov 6 16:08:59 EST 2001
Last modified: Tue Feb 19 11:09:00 UTC 2002
<!-- hhmts end -->
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment