20967
|
1 |
%
|
|
2 |
\begin{isabellebody}%
|
|
3 |
\def\isabellecontext{Codegen}%
|
|
4 |
%
|
|
5 |
\isadelimtheory
|
|
6 |
\isanewline
|
|
7 |
\isanewline
|
|
8 |
\isanewline
|
|
9 |
%
|
|
10 |
\endisadelimtheory
|
|
11 |
%
|
|
12 |
\isatagtheory
|
|
13 |
\isacommand{theory}\isamarkupfalse%
|
|
14 |
\ Codegen\isanewline
|
|
15 |
\isakeyword{imports}\ Main\isanewline
|
|
16 |
\isakeyword{begin}%
|
|
17 |
\endisatagtheory
|
|
18 |
{\isafoldtheory}%
|
|
19 |
%
|
|
20 |
\isadelimtheory
|
|
21 |
%
|
|
22 |
\endisadelimtheory
|
|
23 |
%
|
|
24 |
\isamarkupchapter{Code generation from Isabelle theories%
|
|
25 |
}
|
|
26 |
\isamarkuptrue%
|
|
27 |
%
|
|
28 |
\isamarkupsection{Introduction%
|
|
29 |
}
|
|
30 |
\isamarkuptrue%
|
|
31 |
%
|
|
32 |
\begin{isamarkuptext}%
|
|
33 |
\cite{isa-tutorial}%
|
|
34 |
\end{isamarkuptext}%
|
|
35 |
\isamarkuptrue%
|
|
36 |
%
|
|
37 |
\isamarkupsection{Basics%
|
|
38 |
}
|
|
39 |
\isamarkuptrue%
|
|
40 |
%
|
|
41 |
\isamarkupsubsection{Invoking the code generator%
|
|
42 |
}
|
|
43 |
\isamarkuptrue%
|
|
44 |
%
|
|
45 |
\isamarkupsubsection{Theorem selection%
|
|
46 |
}
|
|
47 |
\isamarkuptrue%
|
|
48 |
%
|
|
49 |
\isamarkupsubsection{Type classes%
|
|
50 |
}
|
|
51 |
\isamarkuptrue%
|
|
52 |
%
|
|
53 |
\isamarkupsubsection{Preprocessing%
|
|
54 |
}
|
|
55 |
\isamarkuptrue%
|
|
56 |
%
|
|
57 |
\isamarkupsubsection{Incremental code generation%
|
|
58 |
}
|
|
59 |
\isamarkuptrue%
|
|
60 |
%
|
|
61 |
\isamarkupsection{Customizing serialization%
|
|
62 |
}
|
|
63 |
\isamarkuptrue%
|
|
64 |
%
|
|
65 |
\isamarkupsection{Recipes and advanced topics%
|
|
66 |
}
|
|
67 |
\isamarkuptrue%
|
|
68 |
%
|
|
69 |
\isamarkupsection{ML interfaces%
|
|
70 |
}
|
|
71 |
\isamarkuptrue%
|
|
72 |
%
|
|
73 |
\isamarkupsubsection{codegen\_data.ML%
|
|
74 |
}
|
|
75 |
\isamarkuptrue%
|
|
76 |
%
|
|
77 |
\isamarkupsubsection{Implementing code generator applications%
|
|
78 |
}
|
|
79 |
\isamarkuptrue%
|
|
80 |
%
|
|
81 |
\isadelimtheory
|
|
82 |
%
|
|
83 |
\endisadelimtheory
|
|
84 |
%
|
|
85 |
\isatagtheory
|
|
86 |
\isacommand{end}\isamarkupfalse%
|
|
87 |
%
|
|
88 |
\endisatagtheory
|
|
89 |
{\isafoldtheory}%
|
|
90 |
%
|
|
91 |
\isadelimtheory
|
|
92 |
%
|
|
93 |
\endisadelimtheory
|
|
94 |
\isanewline
|
|
95 |
\end{isabellebody}%
|
|
96 |
%%% Local Variables:
|
|
97 |
%%% mode: latex
|
|
98 |
%%% TeX-master: "root"
|
|
99 |
%%% End:
|