chiark / gitweb /
doc/sod.tex: Cope if `\pkgversion' isn't defined.
[sod] / doc / sod.tex
CommitLineData
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}
dea4d055 43\usepackage{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}
1f1d88f5 64
1f1d88f5
MW
65\begin{document}
66
43cb10f9 67\frontmatter
1f1d88f5
MW
68\maketitle
69
1f1d88f5 70%%%--------------------------------------------------------------------------
1f1d88f5 71
1f7d590d 72\tableofcontents
1f1d88f5 73
1f7d590d 74\mainmatter
1f1d88f5 75
e655a9fd
MW
76\include{intro}
77
1f1d88f5 78%%%--------------------------------------------------------------------------
7420cef2 79\part{Tutorial\label{p:tut}}
1f1d88f5 80
1f7d590d 81\include{tutorial}
1f1d88f5
MW
82
83%%%--------------------------------------------------------------------------
7420cef2 84\part{Reference\label{p:ref}}
1f1d88f5 85
7292d6e1 86\include{refintro}
1f7d590d
MW
87\include{concepts}
88\include{cmdline}
89\include{syntax}
1f7d590d 90\include{runtime}
45e10a4f 91\include{structures}
fca95fc1
MW
92
93%%%--------------------------------------------------------------------------
7420cef2 94\part{Lisp interface\label{p:lisp}}
1f7d590d
MW
95
96\include{lispintro}
97%% package.lisp
98%% sod.asd.in
99%% sod-frontend.asd.in
100%% auto.lisp.in
101
102\include{misc}
5ea92e79 103%% utilities.lisp
1f7d590d
MW
104%% pset-impl.lisp
105%% pset-parse.lisp
106%% pset-proto.lisp
1f7d590d
MW
107%% optparse.lisp
108%% frontend.lisp
109%% final.lisp
110
111\include{parsing}
112%% package.lisp
113%% floc-impl.lisp
114%% floc-proto.lisp
115%% streams-impl.lisp
116%% streams-proto.lisp
117%% scanner-context-impl.lisp
118%% scanner-impl.lisp
119%% scanner-proto.lisp
120%% scanner-token-impl.lisp
121%% scanner-charbuf-impl.lisp
122%% parser-impl.lisp
123%% parser-proto.lisp
124%% parser-expr-impl.lisp
125%% parser-expr-proto.lisp
5ea92e79
MW
126%% lexer-impl.lisp
127%% lexer-proto.lisp
1f7d590d
MW
128
129\include{clang}
130%% c-types-class-impl.lisp
131%% c-types-impl.lisp
132%% c-types-parse.lisp
133%% c-types-proto.lisp
134%% codegen-impl.lisp
135%% codegen-proto.lisp
136%% fragment-parse.lisp
137
138\include{meta}
139%% classes.lisp
140%% class-utilities.lisp
141%% class-make-impl.lisp
142%% class-make-proto.lisp
143%% class-finalize-impl.lisp
144%% class-finalize-proto.lisp
145
146\include{layout}
147%% class-layout-impl.lisp
148%% class-layout-proto.lisp
149%% method-impl.lisp
150%% method-proto.lisp
151%% method-aggregate.lisp
152
153\include{module}
154%% module-impl.lisp
155%% module-parse.lisp
156%% module-proto.lisp
157%% builtin.lisp
158
159\include{output}
160%% output-impl.lisp
161%% output-proto.lisp
162%% class-output.lisp
163%% module-output.lisp
fca95fc1
MW
164
165%%%--------------------------------------------------------------------------
1f7d590d
MW
166\part{Appendices}
167\appendix
1f1d88f5 168
1f7d590d 169\include{cutting-room-floor}
1f1d88f5 170
ddfe4265
MW
171%%%--------------------------------------------------------------------------
172\backmatter
173
9cd5cf15
MW
174\bibliography{%
175 isostd,%
176 sigplan1990}
b59108e2 177\printindex
ddfe4265 178
1f7d590d 179%%%----- That's all, folks --------------------------------------------------
1f1d88f5 180\end{document}
1f7d590d 181
1f1d88f5
MW
182%%% Local variables:
183%%% mode: LaTeX
184%%% TeX-PDF-mode: t
185%%% End: