summaryrefslogtreecommitdiff
path: root/ghc/compiler/root.lit
blob: 120cdad33cede40f5734035878b73c6f4c617825 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
\begin{onlystandalone}
\documentstyle[11pt,literate]{article}
\begin{document}
\title{Glasgow Haskell Compiler Sources}

\author{The GRASP Team}
}
\date{February 1991}
\maketitle
\tableofcontents
\end{onlystandalone}

#\input{main/Main.lhs}

#\section[prefix_form_reader]{Reader}
#\downsection
#\input{reader/ReaderIntermForm.lhs}
#\input{reader/ReaderIntermSyntax.lhs}
#\input{reader/RIFToHaskell.lhs}
#\upsection
#
#\section[Names]{Things to do with names}
#\downsection
#\input{names/Names.lhs}
#\input{names/NameSupply.lhs}
#\input{names/UniqInts.lhs}
#\input{names/NameSupplyMonad.lhs}
#\input{names/SpecialStrings.lhs}
#\upsection
#
#\section[AbsSyntax_stuff]{Abstract syntax stuff}
#\downsection
#\input{absSyntax/AbsSyntax.lhs}
#\input{absSyntax/PrintAbsSyntax.lhs}
#\input{absSyntax/PrettyAbsSyntax.lhs}
#\input{absSyntax/UniType.lhs}
#\input{absSyntax/PrintUniType.lhs}
#\input{absSyntax/PrettyUniType.lhs}
#\input{absSyntax/TypeFuns.lhs}
#\input{absSyntax/AbsSyntaxRepFuns.lhs}
#\upsection
#
#\section[Error_reporting]{Error reporting things}
#\downsection
#\input{errors/Error.lhs}
#\upsection
#
#\section[Dependency_analysis]{Dependency analysis}
#\downsection
#\input{depanal/Depend.lhs}
#\input{depanal/StronglyConnComp.lhs}
#\upsection
#
#\input{typecheck/root.lit}
#
#\section[SyntaxPrimitives_stuff]{Basic syntax stuff}
#\downsection
#\input{syntaxPrims/SyntaxPrimitives.lhs}
#\input{syntaxPrims/PrintSyntaxPrims.lhs}
#\input{syntaxPrims/SyntaxConstants.lhs}
#\input{syntaxPrims/SyntaxConstants.lh}
#\upsection
#
#\section[CoreSyntax_stuff]{CoreSyntax syntax stuff}
#\downsection
#\input{coreSyntax/CoreSyntax.lhs}
#\input{coreSyntax/PrintCoreSyntax.lhs}
#\input{coreSyntax/AnnCoreSyntax.lhs}
#\upsection
#
#\input{deSugar/root.lit}
#
#\section[Simplify_stuff]{Simplifying core expressions}
#\downsection
#\input{simplify/Simplify.lhs}
#\upsection
#
#\section[Lambda_lifting]{A simple lambda-lifter}
#\downsection
#\input{llift/LambdaLift.lhs}
#\upsection
#
#\section[core-to-stg-conversion]{Converting core syntax to STG syntax}
#\downsection
#\input{core2stg/CoreToStg.lhs}
#\upsection

\section[stg-syntax]{The STG syntax}
\downsection
\input{stgSyntax/StgSyntax.lhs}
\input{stgSyntax/PrintStgSyntax.lhs}
\upsection

\input{codeGen/root.lit}

#\section[abstract-C-syntax]{Abstract C syntax}
#\downsection
#\input{absCSyntax/AbstractC.lhs}
#\input{absCSyntax/FlattenAbsC.lhs}
#\input{absCSyntax/PrintAbstractC.lhs}
#\input{absCSyntax/AbsToRealC.lhs}
#\upsection

#\section[Utility_functions]{Utility functions}
#\downsection
#\input{utils/Util.lhs}
#\input{utils/Util2.lhs}
#\input{utils/Pretty.lhs}
#\input{utils/Set.lhs}
#\upsection

\begin{onlystandalone}
\printindex
\end{document}
\end{onlystandalone}