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 (!);
     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 1;
    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 (*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 "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 "locale.ML";
    49 use "tctical.ML";
    50 use "search.ML";
    51 use "tactic.ML";
    52 use "goals.ML";
    53 use "object_logic.ML";
    54 
    55 (*proof term operations*)
    56 cd "Proof";
    57 use "reconstruct.ML";
    58 use "proof_syntax.ML";
    59 use "proof_rewrite_rules.ML";
    60 use "proofchecker.ML";
    61 cd "..";
    62 
    63 (*theory system operations*)
    64 cd "Thy"; use "ROOT.ML"; cd "..";
    65 
    66 (*the Isar subsystem*)
    67 cd "Isar"; use "ROOT.ML"; cd "..";
    68 
    69 use "axclass.ML";
    70 
    71 (*code generator*)
    72 use "codegen.ML";
    73 
    74 (*external interfaces*)
    75 cd "Interface"; use "ROOT.ML"; cd "..";
    76 
    77 (*final Pure theory setup*)
    78 use "pure.ML";
    79 
    80 (*several object-logics declare theories that hide basis library structures*)
    81 structure BasisLibrary =
    82 struct
    83   structure List = List;
    84   structure Option = Option;
    85   structure Bool = Bool;
    86   structure String = String;
    87   structure Int = Int;
    88   structure Real = Real;
    89 end;
    90 
    91 use "install_pp.ML";
    92 
    93 val use = ThyInfo.use;
    94 val cd = File.cd o Path.unpack;
    95 
    96 print_depth 8;
    97 ml_prompts "ML> " "ML# ";
    98 
    99 proofs := 0;