src/Pure/ROOT.ML
author wenzelm
Sat Sep 01 00:20:22 2001 +0200 (2001-09-01)
changeset 11545 0b56d9c90dcf
parent 11511 ec89f5cff390
child 11759 56c80e542e44
permissions -rw-r--r--
final proofs := 0;
     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 "proofterm.ML";
    42 use "thm.ML";
    43 use "display.ML";
    44 use "pure_thy.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 (*proof term operations*)
    54 cd "Proof";
    55 use "reconstruct.ML";
    56 use "proof_syntax.ML";
    57 use "proof_rewrite_rules.ML";
    58 use "proofchecker.ML";
    59 cd "..";
    60 
    61 (*theory system operations*)
    62 cd "Thy"; use "ROOT.ML"; cd "..";
    63 
    64 (*the Isar subsystem*)
    65 cd "Isar"; use "ROOT.ML"; cd "..";
    66 
    67 use "axclass.ML";
    68 
    69 (*code generator*)
    70 use "codegen.ML";
    71 
    72 (*external interfaces*)
    73 cd "Interface"; use "ROOT.ML"; cd "..";
    74 
    75 (*final Pure theory setup*)
    76 use "pure.ML";
    77 
    78 (*several object-logics declare theories that hide basis library structures*)
    79 structure BasisLibrary =
    80 struct
    81   structure List = List;
    82   structure Option = Option;
    83   structure Bool = Bool;
    84   structure String = String;
    85   structure Int = Int;
    86   structure Real = Real;
    87 end;
    88 
    89 use "install_pp.ML";
    90 
    91 val use = ThyInfo.use;
    92 val cd = File.cd o Path.unpack;
    93 
    94 print_depth 8;
    95 ml_prompts "ML> " "ML# ";
    96 
    97 proofs := 0;