| author | paulson | 
| Sun, 23 Apr 2000 11:33:41 +0200 | |
| changeset 8763 | 22d4c641ebff | 
| parent 7718 | 86755cc5b83c | 
| child 8965 | d46b36785c70 | 
| permissions | -rw-r--r-- | 
| 5092 | 1  | 
(* Title: Pure/pure.ML  | 
2  | 
ID: $Id$  | 
|
3  | 
Author: Markus Wenzel, TU Muenchen  | 
|
4  | 
||
| 
6192
 
a42dbf1af868
proper setup of preloaded theories (ThyInfo.register_theory);
 
wenzelm 
parents: 
5905 
diff
changeset
 | 
5  | 
Final setup of the Pure theories.  | 
| 5092 | 6  | 
*)  | 
7  | 
||
| 5839 | 8  | 
local  | 
9  | 
val common_setup =  | 
|
10  | 
Locale.setup @  | 
|
| 6313 | 11  | 
HTML.setup @  | 
| 5839 | 12  | 
ProofContext.setup @  | 
| 6770 | 13  | 
Attrib.setup @  | 
| 5839 | 14  | 
Method.setup @  | 
| 6770 | 15  | 
Calculation.setup @  | 
| 
6888
 
d0c68ebdabc5
skip_proof feature 'sorry' (for quick_and_dirty mode only);
 
wenzelm 
parents: 
6785 
diff
changeset
 | 
16  | 
SkipProof.setup @  | 
| 6653 | 17  | 
AxClass.setup @  | 
| 7718 | 18  | 
Present.setup @  | 
| 6696 | 19  | 
Isamode.setup @  | 
20  | 
ProofGeneral.setup;  | 
|
| 5839 | 21  | 
in  | 
22  | 
structure Pure =  | 
|
23  | 
struct  | 
|
24  | 
val thy =  | 
|
25  | 
PureThy.begin_theory "Pure" [ProtoPure.thy]  | 
|
26  | 
|> Theory.add_syntax Syntax.pure_appl_syntax  | 
|
| 5905 | 27  | 
|> Library.apply common_setup  | 
| 5839 | 28  | 
|> PureThy.end_theory;  | 
29  | 
end;  | 
|
| 5092 | 30  | 
|
| 5839 | 31  | 
structure CPure =  | 
32  | 
struct  | 
|
33  | 
val thy =  | 
|
34  | 
PureThy.begin_theory "CPure" [ProtoPure.thy]  | 
|
35  | 
|> Theory.add_syntax Syntax.pure_applC_syntax  | 
|
| 5905 | 36  | 
|> Library.apply common_setup  | 
| 5863 | 37  | 
|> Theory.copy  | 
| 5839 | 38  | 
|> PureThy.end_theory;  | 
39  | 
end;  | 
|
| 5211 | 40  | 
end;  | 
| 5092 | 41  | 
|
| 
6192
 
a42dbf1af868
proper setup of preloaded theories (ThyInfo.register_theory);
 
wenzelm 
parents: 
5905 
diff
changeset
 | 
42  | 
ThyInfo.register_theory ProtoPure.thy;  | 
| 
 
a42dbf1af868
proper setup of preloaded theories (ThyInfo.register_theory);
 
wenzelm 
parents: 
5905 
diff
changeset
 | 
43  | 
ThyInfo.register_theory Pure.thy;  | 
| 
 
a42dbf1af868
proper setup of preloaded theories (ThyInfo.register_theory);
 
wenzelm 
parents: 
5905 
diff
changeset
 | 
44  | 
ThyInfo.register_theory CPure.thy;  |