src/Pure/ROOT.ML
author wenzelm
Tue Nov 20 20:55:50 2001 +0100 (2001-11-20)
changeset 12248 f059876ef1d3
parent 11966 8fe2ee787608
child 12778 3120e338ffae
permissions -rw-r--r--
print_depth 10;
     1 (*  Title:      Pure/ROOT.ML
     2     ID:         $Id$
     3     Author:     Lawrence C Paulson, Cambridge University Computer Laboratory
     4     Copyright   1993  University of Cambridge
     5 
     6 Root file for Pure Isabelle.
     7 *)
     8 
     9 val banner = "Pure Isabelle";
    10 val version = "Isabelle repository version";    (*filled in automatically!*)
    11 
    12 
    13 print_depth 10;
    14 
    15 (*global flags*)
    16 val print_mode = ref ([]: string list);
    17 
    18 (*fake hiding of private structures*)
    19 structure Hidden = struct end;
    20 
    21 (*basic tools*)
    22 use "library.ML";
    23 cd "General"; use "ROOT.ML"; cd "..";
    24 use "term.ML";
    25 
    26 (*inner syntax module*)
    27 cd "Syntax"; use "ROOT.ML"; cd "..";
    28 
    29 (*core system*)
    30 use "sorts.ML";
    31 use "type_infer.ML";
    32 use "type.ML";
    33 use "sign.ML";
    34 use "envir.ML";
    35 use "pattern.ML";
    36 use "unify.ML";
    37 use "net.ML";
    38 use "logic.ML";
    39 use "theory.ML";
    40 use "theory_data.ML";
    41 use "context.ML";
    42 use "proofterm.ML";
    43 use "thm.ML";
    44 use "display.ML";
    45 use "pure_thy.ML";
    46 use "drule.ML";
    47 use "meta_simplifier.ML";
    48 use "tctical.ML";
    49 use "search.ML";
    50 use "tactic.ML";
    51 
    52 (*proof term operations*)
    53 cd "Proof"; use "ROOT.ML"; cd "..";
    54 
    55 (*theory system operations*)
    56 cd "Thy"; use "ROOT.ML"; cd "..";
    57 
    58 (*the Isar subsystem*)
    59 cd "Isar"; use "ROOT.ML"; cd "..";
    60 
    61 use "axclass.ML";
    62 use "codegen.ML";
    63 
    64 (*old-style goal package*)
    65 use "goals.ML";
    66 
    67 (*specific support for user-interfaces*)
    68 cd "Interface"; use "ROOT.ML"; cd "..";
    69 
    70 (*final Pure theory setup*)
    71 use "pure.ML";
    72 
    73 (*several object-logics declare theories that hide basis library structures*)
    74 structure BasisLibrary =
    75 struct
    76   structure List = List;
    77   structure Option = Option;
    78   structure Bool = Bool;
    79   structure String = String;
    80   structure Int = Int;
    81   structure Real = Real;
    82 end;
    83 
    84 use "install_pp.ML";
    85 
    86 val use = ThyInfo.use;
    87 val cd = File.cd o Path.unpack;
    88 
    89 ml_prompts "ML> " "ML# ";
    90 
    91 proofs := 0;