Commit | Line | Data |
---|---|---|
1f7d590d MW |
1 | %%% -*-latex-*- |
2 | %%% | |
3 | %%% Description of the internal class structure and protocol | |
4 | %%% | |
5 | %%% (c) 2009 Straylight/Edgeware | |
6 | %%% | |
7 | ||
8 | %%%----- Licensing notice --------------------------------------------------- | |
9 | %%% | |
10 | %%% This file is part of the Simple Object Definition system. | |
11 | %%% | |
12 | %%% SOD is free software; you can redistribute it and/or modify | |
13 | %%% it under the terms of the GNU General Public License as published by | |
14 | %%% the Free Software Foundation; either version 2 of the License, or | |
15 | %%% (at your option) any later version. | |
16 | %%% | |
17 | %%% SOD is distributed in the hope that it will be useful, | |
18 | %%% but WITHOUT ANY WARRANTY; without even the implied warranty of | |
19 | %%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
20 | %%% GNU General Public License for more details. | |
21 | %%% | |
22 | %%% You should have received a copy of the GNU General Public License | |
23 | %%% along with SOD; if not, write to the Free Software Foundation, | |
24 | %%% Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
25 | ||
b18dfd74 | 26 | \documentclass[noarticle, titlepage]{strayman} |
1f1d88f5 | 27 | |
1f7d590d MW |
28 | \errorcontextlines=999 |
29 | ||
1f1d88f5 MW |
30 | \usepackage[T1]{fontenc} |
31 | \usepackage[utf8]{inputenc} | |
32 | \usepackage[palatino, helvetica, courier, maths=cmr]{mdwfonts} | |
b59108e2 MW |
33 | \usepackage{makeidx} |
34 | \usepackage | |
0a262580 | 35 | [columns=2, justific=raggedright, |
b59108e2 MW |
36 | totoc=true, font=small] |
37 | {idxlayout} | |
fca95fc1 | 38 | \usepackage{tikz} |
f1aa19a8 MW |
39 | \usetikzlibrary{calc} |
40 | \usetikzlibrary{positioning} | |
1f1d88f5 MW |
41 | \usepackage{syntax} |
42 | \usepackage{sverb} | |
3f5345bc | 43 | \usepackage{longtable, mdwtab} |
5134f04b | 44 | \usepackage[mdwmargin, within=section]{mdwthm} |
fca95fc1 | 45 | \usepackage{amssymb} |
dea4d055 | 46 | \usepackage{footnote} |
1f1d88f5 MW |
47 | \usepackage{at} |
48 | \usepackage{mdwref} | |
49 | ||
1f7d590d MW |
50 | \usepackage{sod} |
51 | ||
ddfe4265 | 52 | \makeindex |
2bc73f78 | 53 | \let\indexstheadcase\relax |
9cd5cf15 | 54 | \bibliographystyle{mdwalpha} |
ddfe4265 | 55 | |
bfb791e9 MW |
56 | \ifx\pkgversion\xxundefined |
57 | \immediate\typeout{WARNING: \string\pkgversion\ not defined} | |
58 | \def\pkgversion{UNSET} | |
59 | \fi | |
60 | ||
1f1d88f5 MW |
61 | \title{A Sensible Object Design for C} |
62 | \author{Mark Wooding} | |
87837656 | 63 | \date{\today; version \pkgversion} |
acc1b986 | 64 | \innerhead[Version \pkgversion]{} |
1f1d88f5 | 65 | |
31d3ef76 MW |
66 | %%\includeonly{...} |
67 | ||
1f1d88f5 MW |
68 | \begin{document} |
69 | ||
43cb10f9 | 70 | \frontmatter |
1f1d88f5 MW |
71 | \maketitle |
72 | ||
1f1d88f5 | 73 | %%%-------------------------------------------------------------------------- |
1f1d88f5 | 74 | |
1f7d590d | 75 | \tableofcontents |
1f1d88f5 | 76 | |
1f7d590d | 77 | \mainmatter |
1f1d88f5 | 78 | |
e655a9fd MW |
79 | \include{intro} |
80 | ||
1f1d88f5 | 81 | %%%-------------------------------------------------------------------------- |
7420cef2 | 82 | \part{Tutorial\label{p:tut}} |
1f1d88f5 | 83 | |
1f7d590d | 84 | \include{tutorial} |
1f1d88f5 MW |
85 | |
86 | %%%-------------------------------------------------------------------------- | |
7420cef2 | 87 | \part{Reference\label{p:ref}} |
1f1d88f5 | 88 | |
7292d6e1 | 89 | \include{refintro} |
1f7d590d MW |
90 | \include{concepts} |
91 | \include{cmdline} | |
92 | \include{syntax} | |
1f7d590d | 93 | \include{runtime} |
45e10a4f | 94 | \include{structures} |
fca95fc1 MW |
95 | |
96 | %%%-------------------------------------------------------------------------- | |
7420cef2 | 97 | \part{Lisp interface\label{p:lisp}} |
1f7d590d MW |
98 | |
99 | \include{lispintro} | |
100 | %% package.lisp | |
101 | %% sod.asd.in | |
102 | %% sod-frontend.asd.in | |
103 | %% auto.lisp.in | |
104 | ||
105 | \include{misc} | |
5ea92e79 | 106 | %% utilities.lisp |
1f7d590d MW |
107 | %% pset-impl.lisp |
108 | %% pset-parse.lisp | |
109 | %% pset-proto.lisp | |
1f7d590d MW |
110 | %% optparse.lisp |
111 | %% frontend.lisp | |
112 | %% final.lisp | |
113 | ||
114 | \include{parsing} | |
115 | %% package.lisp | |
116 | %% floc-impl.lisp | |
117 | %% floc-proto.lisp | |
118 | %% streams-impl.lisp | |
119 | %% streams-proto.lisp | |
120 | %% scanner-context-impl.lisp | |
121 | %% scanner-impl.lisp | |
122 | %% scanner-proto.lisp | |
123 | %% scanner-token-impl.lisp | |
124 | %% scanner-charbuf-impl.lisp | |
125 | %% parser-impl.lisp | |
126 | %% parser-proto.lisp | |
127 | %% parser-expr-impl.lisp | |
128 | %% parser-expr-proto.lisp | |
5ea92e79 MW |
129 | %% lexer-impl.lisp |
130 | %% lexer-proto.lisp | |
1f7d590d MW |
131 | |
132 | \include{clang} | |
133 | %% c-types-class-impl.lisp | |
134 | %% c-types-impl.lisp | |
135 | %% c-types-parse.lisp | |
136 | %% c-types-proto.lisp | |
137 | %% codegen-impl.lisp | |
138 | %% codegen-proto.lisp | |
139 | %% fragment-parse.lisp | |
140 | ||
141 | \include{meta} | |
142 | %% classes.lisp | |
143 | %% class-utilities.lisp | |
144 | %% class-make-impl.lisp | |
145 | %% class-make-proto.lisp | |
146 | %% class-finalize-impl.lisp | |
147 | %% class-finalize-proto.lisp | |
148 | ||
149 | \include{layout} | |
150 | %% class-layout-impl.lisp | |
151 | %% class-layout-proto.lisp | |
152 | %% method-impl.lisp | |
153 | %% method-proto.lisp | |
154 | %% method-aggregate.lisp | |
155 | ||
156 | \include{module} | |
157 | %% module-impl.lisp | |
158 | %% module-parse.lisp | |
159 | %% module-proto.lisp | |
160 | %% builtin.lisp | |
161 | ||
162 | \include{output} | |
163 | %% output-impl.lisp | |
164 | %% output-proto.lisp | |
165 | %% class-output.lisp | |
166 | %% module-output.lisp | |
fca95fc1 MW |
167 | |
168 | %%%-------------------------------------------------------------------------- | |
1f7d590d MW |
169 | \part{Appendices} |
170 | \appendix | |
1f1d88f5 | 171 | |
1f7d590d | 172 | \include{cutting-room-floor} |
1f1d88f5 | 173 | |
ddfe4265 MW |
174 | %%%-------------------------------------------------------------------------- |
175 | \backmatter | |
176 | ||
1edb774e | 177 | \bibliography{sod} |
b59108e2 | 178 | \printindex |
ddfe4265 | 179 | |
1f7d590d | 180 | %%%----- That's all, folks -------------------------------------------------- |
1f1d88f5 | 181 | \end{document} |
1f7d590d | 182 | |
1f1d88f5 MW |
183 | %%% Local variables: |
184 | %%% mode: LaTeX | |
185 | %%% TeX-PDF-mode: t | |
186 | %%% End: |