src/Pure/ROOT.ML
author wenzelm
Sun, 28 Dec 1997 14:55:20 +0100
changeset 4484 220ccae8a590
parent 4410 b68047c56fce
child 4690 8459cf322011
permissions -rw-r--r--
replaced symtab.ML by table.ML;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
19
929ad32d63fc Pure/ROOT.ML
wenzelm
parents: 2
diff changeset
     1
(*  Title:      Pure/ROOT.ML
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     2
    ID:         $Id$
19
929ad32d63fc Pure/ROOT.ML
wenzelm
parents: 2
diff changeset
     3
    Author:     Lawrence C Paulson, Cambridge University Computer Laboratory
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     4
    Copyright   1993  University of Cambridge
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     5
19
929ad32d63fc Pure/ROOT.ML
wenzelm
parents: 2
diff changeset
     6
Root file for Pure Isabelle: all modules in proper order for loading.
4209
4e0c98184285 structure BasisLibrary;
wenzelm
parents: 3986
diff changeset
     7
Loads Pure Isabelle into an empty ML database (see also IsaMakefile).
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     8
*)
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     9
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    10
val banner = "Pure Isabelle";
4410
wenzelm
parents: 4408
diff changeset
    11
val version = "Isabelle98: January 1998";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    12
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    13
print_depth 1;
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    14
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    15
use "library.ML";
4484
220ccae8a590 replaced symtab.ML by table.ML;
wenzelm
parents: 4410
diff changeset
    16
use "table.ML";
4278
wenzelm
parents: 4270
diff changeset
    17
use "seq.ML";
3763
31ec17820f49 added name_space.ML;
wenzelm
parents: 3508
diff changeset
    18
use "name_space.ML";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    19
use "term.ML";
19
929ad32d63fc Pure/ROOT.ML
wenzelm
parents: 2
diff changeset
    20
929ad32d63fc Pure/ROOT.ML
wenzelm
parents: 2
diff changeset
    21
(*Syntax module*)
2582
b6e37441acb8 cd made readably again;
wenzelm
parents: 2236
diff changeset
    22
cd "Syntax";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    23
use "ROOT.ML";
2582
b6e37441acb8 cd made readably again;
wenzelm
parents: 2236
diff changeset
    24
cd "..";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    25
4408
ad74412ef7a0 version = "Isabelle98: Jan 1998";
wenzelm
parents: 4362
diff changeset
    26
(*Main system*)
2960
a6b56d03ed0d added sorts.ML, type_infer.ML;
wenzelm
parents: 2582
diff changeset
    27
use "sorts.ML";
a6b56d03ed0d added sorts.ML, type_infer.ML;
wenzelm
parents: 2582
diff changeset
    28
use "type_infer.ML";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    29
use "type.ML";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    30
use "sign.ML";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    31
use "envir.ML";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    32
use "pattern.ML";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    33
use "unify.ML";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    34
use "net.ML";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    35
use "logic.ML";
1528
608dd813b437 Theories are now in theory.ML
paulson
parents: 1498
diff changeset
    36
use "theory.ML";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    37
use "thm.ML";
3986
d788dcb86930 added pure_thy.ML;
wenzelm
parents: 3971
diff changeset
    38
use "display.ML";
d788dcb86930 added pure_thy.ML;
wenzelm
parents: 3971
diff changeset
    39
use "pure_thy.ML";
1595
b9984b1dbc4c Now loads deriv.ML
paulson
parents: 1582
diff changeset
    40
use "deriv.ML";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    41
use "drule.ML";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    42
use "tctical.ML";
1582
97a305db0c9e Updated for new file search.ML
paulson
parents: 1528
diff changeset
    43
use "search.ML";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    44
use "tactic.ML";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    45
use "goals.ML";
403
4c66b1577753 added "axclass.ML", structure AxClass;
wenzelm
parents: 83
diff changeset
    46
use "axclass.ML";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    47
618
97b715e65f70 added init_database (somewhat experimental);
wenzelm
parents: 607
diff changeset
    48
(*Theory parser and loader*)
4408
ad74412ef7a0 version = "Isabelle98: Jan 1998";
wenzelm
parents: 4362
diff changeset
    49
val global_names = ref false;		(* FIXME tmp *)
2582
b6e37441acb8 cd made readably again;
wenzelm
parents: 2236
diff changeset
    50
cd "Thy";
73
075db6ac7f2f delete_file now has type string -> unit in both NJ and POLY,
clasohm
parents: 19
diff changeset
    51
use "ROOT.ML";
2582
b6e37441acb8 cd made readably again;
wenzelm
parents: 2236
diff changeset
    52
cd "..";
73
075db6ac7f2f delete_file now has type string -> unit in both NJ and POLY,
clasohm
parents: 19
diff changeset
    53
618
97b715e65f70 added init_database (somewhat experimental);
wenzelm
parents: 607
diff changeset
    54
use "install_pp.ML";
97b715e65f70 added init_database (somewhat experimental);
wenzelm
parents: 607
diff changeset
    55
4209
4e0c98184285 structure BasisLibrary;
wenzelm
parents: 3986
diff changeset
    56
(*several object-logics declare theories named List or Option, hiding
4e0c98184285 structure BasisLibrary;
wenzelm
parents: 3986
diff changeset
    57
  the eponymous basis library structures*)
4e0c98184285 structure BasisLibrary;
wenzelm
parents: 3986
diff changeset
    58
structure BasisLibrary =
4e0c98184285 structure BasisLibrary;
wenzelm
parents: 3986
diff changeset
    59
struct
4e0c98184285 structure BasisLibrary;
wenzelm
parents: 3986
diff changeset
    60
  structure List = List and Option = Option;
4e0c98184285 structure BasisLibrary;
wenzelm
parents: 3986
diff changeset
    61
end;
4e0c98184285 structure BasisLibrary;
wenzelm
parents: 3986
diff changeset
    62
4e0c98184285 structure BasisLibrary;
wenzelm
parents: 3986
diff changeset
    63
open Use;
4e0c98184285 structure BasisLibrary;
wenzelm
parents: 3986
diff changeset
    64
3508
089806e6133b removed init_database;
wenzelm
parents: 3280
diff changeset
    65
print_depth 8;