src/Pure/ROOT.ML
author wenzelm
Tue Jan 16 00:34:31 2001 +0100 (2001-01-16)
changeset 10912 3cf3bb8ee324
parent 10413 0e015d9bea4e
child 11065 0038c3bedd75
permissions -rw-r--r--
removed Session.finish ();
     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";
    11 
    12 print_depth 1;
    13 
    14 (*global flags*)
    15 val print_mode = ref ([]: string list);
    16 
    17 (*fake hiding of private structures*)
    18 structure Hidden = struct end;
    19 
    20 (*basic tools*)
    21 use "library.ML";
    22 cd "General"; use "ROOT.ML"; cd "..";
    23 use "term.ML";
    24 
    25 (*inner syntax module*)
    26 cd "Syntax"; use "ROOT.ML"; cd "..";
    27 
    28 (*main system*)
    29 use "sorts.ML";
    30 use "type_infer.ML";
    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";
    38 use "theory.ML";
    39 use "theory_data.ML";
    40 use "context.ML";
    41 use "thm.ML";
    42 use "display.ML";
    43 use "pure_thy.ML";
    44 use "deriv.ML";
    45 use "drule.ML";
    46 use "meta_simplifier.ML";
    47 use "locale.ML";
    48 use "tctical.ML";
    49 use "search.ML";
    50 use "tactic.ML";
    51 use "goals.ML";
    52 
    53 (*theory system operations*)
    54 cd "Thy"; use "ROOT.ML"; cd "..";
    55 
    56 (*the Isar subsystem*)
    57 cd "Isar"; use "ROOT.ML"; cd "..";
    58 
    59 use "axclass.ML";
    60 
    61 (*external interfaces*)
    62 cd "Interface"; use "ROOT.ML"; cd "..";
    63 
    64 (*final Pure theory setup*)
    65 use "pure.ML";
    66 
    67 (*several object-logics declare theories that hide basis library structures*)
    68 structure BasisLibrary =
    69 struct
    70   structure List = List;
    71   structure Option = Option;
    72   structure Bool = Bool;
    73   structure String = String;
    74   structure Int = Int;
    75   structure Real = Real;
    76 end;
    77 
    78 use "install_pp.ML";
    79 
    80 val use = ThyInfo.use;
    81 val cd = File.cd o Path.unpack;
    82 
    83 print_depth 8;
    84 ml_prompts "ML> " "ML# ";