src/Pure/ROOT.ML
author wenzelm
Tue Oct 26 22:32:15 1999 +0200 (1999-10-26)
changeset 7938 e45599caee6c
parent 6783 9cf9c17d9e35
child 8538 e8ab6cd2e908
permissions -rw-r--r--
activate ml_prompts;
     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 val quick_and_dirty = ref false;        (*if true then some packages will OMIT SOME PROOFS*)
    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 (*main 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 "thm.ML";
    43 use "display.ML";
    44 use "pure_thy.ML";
    45 use "deriv.ML";
    46 use "drule.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# ";
    85 
    86 Session.finish ();