src/Pure/ROOT.ML
author wenzelm
Fri Oct 19 12:17:04 2001 +0200 (2001-10-19)
changeset 11835 13d12b99b843
parent 11759 56c80e542e44
child 11882 954f36537193
permissions -rw-r--r--
revert to proper version (!);
wenzelm@19
     1
(*  Title:      Pure/ROOT.ML
clasohm@0
     2
    ID:         $Id$
wenzelm@19
     3
    Author:     Lawrence C Paulson, Cambridge University Computer Laboratory
clasohm@0
     4
    Copyright   1993  University of Cambridge
clasohm@0
     5
wenzelm@4986
     6
Root file for Pure Isabelle.
clasohm@0
     7
*)
clasohm@0
     8
clasohm@0
     9
val banner = "Pure Isabelle";
wenzelm@11835
    10
val version = "Isabelle repository version";    (*filled in automatically!*)
wenzelm@11835
    11
clasohm@0
    12
clasohm@0
    13
print_depth 1;
clasohm@0
    14
wenzelm@6178
    15
(*global flags*)
wenzelm@6178
    16
val print_mode = ref ([]: string list);
oheimb@6164
    17
wenzelm@5684
    18
(*fake hiding of private structures*)
wenzelm@5684
    19
structure Hidden = struct end;
wenzelm@4949
    20
wenzelm@5017
    21
(*basic tools*)
clasohm@0
    22
use "library.ML";
wenzelm@5017
    23
cd "General"; use "ROOT.ML"; cd "..";
clasohm@0
    24
use "term.ML";
wenzelm@19
    25
wenzelm@4949
    26
(*inner syntax module*)
wenzelm@6178
    27
cd "Syntax"; use "ROOT.ML"; cd "..";
clasohm@0
    28
wenzelm@4949
    29
(*main system*)
wenzelm@2960
    30
use "sorts.ML";
wenzelm@2960
    31
use "type_infer.ML";
clasohm@0
    32
use "type.ML";
clasohm@0
    33
use "sign.ML";
clasohm@0
    34
use "envir.ML";
clasohm@0
    35
use "pattern.ML";
clasohm@0
    36
use "unify.ML";
clasohm@0
    37
use "net.ML";
clasohm@0
    38
use "logic.ML";
paulson@1528
    39
use "theory.ML";
wenzelm@5004
    40
use "theory_data.ML";
wenzelm@6178
    41
use "context.ML";
berghofe@11511
    42
use "proofterm.ML";
clasohm@0
    43
use "thm.ML";
wenzelm@3986
    44
use "display.ML";
wenzelm@3986
    45
use "pure_thy.ML";
clasohm@0
    46
use "drule.ML";
berghofe@10413
    47
use "meta_simplifier.ML";
wenzelm@5244
    48
use "locale.ML";
clasohm@0
    49
use "tctical.ML";
paulson@1582
    50
use "search.ML";
clasohm@0
    51
use "tactic.ML";
clasohm@0
    52
use "goals.ML";
wenzelm@11759
    53
use "object_logic.ML";
clasohm@0
    54
berghofe@11511
    55
(*proof term operations*)
berghofe@11511
    56
cd "Proof";
berghofe@11511
    57
use "reconstruct.ML";
berghofe@11511
    58
use "proof_syntax.ML";
berghofe@11511
    59
use "proof_rewrite_rules.ML";
berghofe@11511
    60
use "proofchecker.ML";
berghofe@11511
    61
cd "..";
berghofe@11511
    62
wenzelm@6178
    63
(*theory system operations*)
wenzelm@6178
    64
cd "Thy"; use "ROOT.ML"; cd "..";
clasohm@73
    65
wenzelm@5834
    66
(*the Isar subsystem*)
wenzelm@6178
    67
cd "Isar"; use "ROOT.ML"; cd "..";
wenzelm@5834
    68
wenzelm@6693
    69
use "axclass.ML";
wenzelm@6693
    70
berghofe@11511
    71
(*code generator*)
berghofe@11511
    72
use "codegen.ML";
berghofe@11511
    73
wenzelm@6693
    74
(*external interfaces*)
wenzelm@6693
    75
cd "Interface"; use "ROOT.ML"; cd "..";
wenzelm@6693
    76
wenzelm@6178
    77
(*final Pure theory setup*)
wenzelm@5211
    78
use "pure.ML";
wenzelm@5211
    79
paulson@5568
    80
(*several object-logics declare theories that hide basis library structures*)
wenzelm@4209
    81
structure BasisLibrary =
wenzelm@4209
    82
struct
wenzelm@6178
    83
  structure List = List;
wenzelm@6178
    84
  structure Option = Option;
wenzelm@6178
    85
  structure Bool = Bool;
wenzelm@6178
    86
  structure String = String;
wenzelm@6178
    87
  structure Int = Int;
wenzelm@6178
    88
  structure Real = Real;
wenzelm@4209
    89
end;
wenzelm@4209
    90
wenzelm@6178
    91
use "install_pp.ML";
wenzelm@6226
    92
wenzelm@6237
    93
val use = ThyInfo.use;
wenzelm@6226
    94
val cd = File.cd o Path.unpack;
wenzelm@6226
    95
wenzelm@3508
    96
print_depth 8;
wenzelm@7938
    97
ml_prompts "ML> " "ML# ";
berghofe@11511
    98
wenzelm@11545
    99
proofs := 0;