author  wenzelm 
Mon, 05 Feb 2001 14:39:09 +0100  
changeset 11065  0038c3bedd75 
parent 10912  3cf3bb8ee324 
child 11511  ec89f5cff390 
permissions  rwrr 
19  1 
(* Title: Pure/ROOT.ML 
0  2 
ID: $Id$ 
19  3 
Author: Lawrence C Paulson, Cambridge University Computer Laboratory 
0  4 
Copyright 1993 University of Cambridge 
5 

4986  6 
Root file for Pure Isabelle. 
0  7 
*) 
8 

9 
val banner = "Pure Isabelle"; 

11065  10 
val version = "Isabelle repository version"; (*filled in automatically!*) 
0  11 

12 
print_depth 1; 

13 

6178  14 
(*global flags*) 
15 
val print_mode = ref ([]: string list); 

6164  16 

5684  17 
(*fake hiding of private structures*) 
18 
structure Hidden = struct end; 

4949  19 

5017
786a17461ab9
moved table.ML, object.ML, seq.ML, name_space.ML to General;
wenzelm
parents:
5004
diff
changeset

20 
(*basic tools*) 
0  21 
use "library.ML"; 
5017
786a17461ab9
moved table.ML, object.ML, seq.ML, name_space.ML to General;
wenzelm
parents:
5004
diff
changeset

22 
cd "General"; use "ROOT.ML"; cd ".."; 
0  23 
use "term.ML"; 
19  24 

4949  25 
(*inner syntax module*) 
6178  26 
cd "Syntax"; use "ROOT.ML"; cd ".."; 
0  27 

4949  28 
(*main system*) 
2960  29 
use "sorts.ML"; 
30 
use "type_infer.ML"; 

0  31 
use "type.ML"; 
32 
use "sign.ML"; 

33 
use "envir.ML"; 

34 
use "pattern.ML"; 

35 
use "unify.ML"; 

36 
use "net.ML"; 

37 
use "logic.ML"; 

1528  38 
use "theory.ML"; 
5004  39 
use "theory_data.ML"; 
6178  40 
use "context.ML"; 
0  41 
use "thm.ML"; 
3986  42 
use "display.ML"; 
43 
use "pure_thy.ML"; 

1595  44 
use "deriv.ML"; 
0  45 
use "drule.ML"; 
10413  46 
use "meta_simplifier.ML"; 
5244  47 
use "locale.ML"; 
0  48 
use "tctical.ML"; 
1582  49 
use "search.ML"; 
0  50 
use "tactic.ML"; 
51 
use "goals.ML"; 

52 

6178  53 
(*theory system operations*) 
54 
cd "Thy"; use "ROOT.ML"; cd ".."; 

73
075db6ac7f2f
delete_file now has type string > unit in both NJ and POLY,
clasohm
parents:
19
diff
changeset

55 

5834  56 
(*the Isar subsystem*) 
6178  57 
cd "Isar"; use "ROOT.ML"; cd ".."; 
5834  58 

6693
fec75b36a809
added Interface/ROOT.ML Interface/isamode.ML Interface/proof_general.ML;
wenzelm
parents:
6365
diff
changeset

59 
use "axclass.ML"; 
fec75b36a809
added Interface/ROOT.ML Interface/isamode.ML Interface/proof_general.ML;
wenzelm
parents:
6365
diff
changeset

60 

fec75b36a809
added Interface/ROOT.ML Interface/isamode.ML Interface/proof_general.ML;
wenzelm
parents:
6365
diff
changeset

61 
(*external interfaces*) 
fec75b36a809
added Interface/ROOT.ML Interface/isamode.ML Interface/proof_general.ML;
wenzelm
parents:
6365
diff
changeset

62 
cd "Interface"; use "ROOT.ML"; cd ".."; 
fec75b36a809
added Interface/ROOT.ML Interface/isamode.ML Interface/proof_general.ML;
wenzelm
parents:
6365
diff
changeset

63 

6178  64 
(*final Pure theory setup*) 
5211  65 
use "pure.ML"; 
66 

5568  67 
(*several objectlogics declare theories that hide basis library structures*) 
4209  68 
structure BasisLibrary = 
69 
struct 

6178  70 
structure List = List; 
71 
structure Option = Option; 

72 
structure Bool = Bool; 

73 
structure String = String; 

74 
structure Int = Int; 

75 
structure Real = Real; 

4209  76 
end; 
77 

6178  78 
use "install_pp.ML"; 
6226  79 

6237  80 
val use = ThyInfo.use; 
6226  81 
val cd = File.cd o Path.unpack; 
82 

3508  83 
print_depth 8; 
7938  84 
ml_prompts "ML> " "ML# "; 