src/Pure/ROOT.ML
author wenzelm
Sat May 29 15:00:25 2004 +0200 (2004-05-29)
changeset 14823 ebb8499d0fd2
parent 14781 2be804d1dda9
child 15006 107e4dfd3b96
permissions -rw-r--r--
moved print_mode to General/output.ML; load General/pretty.ML early;
     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 (*fake hiding of private structures*)
    16 structure Hidden = struct end;
    17 
    18 (*basic tools*)
    19 use "library.ML";
    20 cd "General"; use "ROOT.ML"; cd "..";
    21 
    22 (*fundamental structures*)
    23 use "term.ML";
    24 use "General/pretty.ML";
    25 use "sorts.ML";
    26 use "type.ML";
    27 
    28 (*inner syntax module*)
    29 cd "Syntax"; use "ROOT.ML"; cd "..";
    30 
    31 (*core system*)
    32 use "type_infer.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 "fact_index.ML";
    46 use "pure_thy.ML";
    47 use "drule.ML";
    48 use "meta_simplifier.ML";
    49 use "tctical.ML";
    50 use "search.ML";
    51 use "tactic.ML";
    52 
    53 (*proof term operations*)
    54 cd "Proof"; use "ROOT.ML"; cd "..";
    55 
    56 (*theory system operations*)
    57 cd "Thy"; use "ROOT.ML"; cd "..";
    58 
    59 (*the Isar subsystem*)
    60 cd "Isar"; use "ROOT.ML"; cd "..";
    61 
    62 use "axclass.ML";
    63 use "codegen.ML";
    64 use "Proof/extraction.ML";
    65 
    66 (*old-style goal package*)
    67 use "goals.ML";
    68 
    69 (*configuration for Proof General*)
    70 use "proof_general.ML";
    71 
    72 (*final Pure theory setup*)
    73 use "pure.ML";
    74 
    75 (*several object-logics declare theories that hide basis library structures*)
    76 structure BasisLibrary =
    77 struct
    78   structure List = List;
    79   structure Option = Option;
    80   structure Bool = Bool;
    81   structure String = String;
    82   structure Int = Int;
    83   structure Real = Real;
    84 end;
    85 
    86 use "install_pp.ML";
    87 
    88 val use = ThyInfo.use;
    89 val cd = File.cd o Path.unpack;
    90 
    91 ml_prompts "ML> " "ML# ";
    92 
    93 proofs := 0;