src/Pure/ROOT.ML
author wenzelm
Mon, 25 May 1998 21:16:03 +0200
changeset 4961 27f559b54c57
parent 4949 c73f72daee64
child 4962 e9217cb15b42
permissions -rw-r--r--
certify_term: type_check replaces Term.type_of, providing sensible error messages; eliminated mapfilt_atoms (use Term.foldl_aterms);
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.
4690
8459cf322011 tuned comment;
wenzelm
parents: 4484
diff changeset
     7
Loads Pure Isabelle into an empty ML database (see also README).
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
4949
c73f72daee64 tuned comments;
wenzelm
parents: 4781
diff changeset
    15
c73f72daee64 tuned comments;
wenzelm
parents: 4781
diff changeset
    16
(*basic utils*)
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    17
use "library.ML";
4484
220ccae8a590 replaced symtab.ML by table.ML;
wenzelm
parents: 4410
diff changeset
    18
use "table.ML";
4278
wenzelm
parents: 4270
diff changeset
    19
use "seq.ML";
3763
31ec17820f49 added name_space.ML;
wenzelm
parents: 3508
diff changeset
    20
use "name_space.ML";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    21
use "term.ML";
19
929ad32d63fc Pure/ROOT.ML
wenzelm
parents: 2
diff changeset
    22
4949
c73f72daee64 tuned comments;
wenzelm
parents: 4781
diff changeset
    23
(*inner syntax module*)
2582
b6e37441acb8 cd made readably again;
wenzelm
parents: 2236
diff changeset
    24
cd "Syntax";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    25
use "ROOT.ML";
2582
b6e37441acb8 cd made readably again;
wenzelm
parents: 2236
diff changeset
    26
cd "..";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    27
4949
c73f72daee64 tuned comments;
wenzelm
parents: 4781
diff changeset
    28
(*main system*)
2960
a6b56d03ed0d added sorts.ML, type_infer.ML;
wenzelm
parents: 2582
diff changeset
    29
use "sorts.ML";
a6b56d03ed0d added sorts.ML, type_infer.ML;
wenzelm
parents: 2582
diff changeset
    30
use "type_infer.ML";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    31
use "type.ML";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    32
use "sign.ML";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    33
use "envir.ML";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    34
use "pattern.ML";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    35
use "unify.ML";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    36
use "net.ML";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    37
use "logic.ML";
1528
608dd813b437 Theories are now in theory.ML
paulson
parents: 1498
diff changeset
    38
use "theory.ML";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    39
use "thm.ML";
3986
d788dcb86930 added pure_thy.ML;
wenzelm
parents: 3971
diff changeset
    40
use "display.ML";
4781
6b55d02437ad added attribute.ML;
wenzelm
parents: 4690
diff changeset
    41
use "attribute.ML";
3986
d788dcb86930 added pure_thy.ML;
wenzelm
parents: 3971
diff changeset
    42
use "pure_thy.ML";
1595
b9984b1dbc4c Now loads deriv.ML
paulson
parents: 1582
diff changeset
    43
use "deriv.ML";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    44
use "drule.ML";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    45
use "tctical.ML";
1582
97a305db0c9e Updated for new file search.ML
paulson
parents: 1528
diff changeset
    46
use "search.ML";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    47
use "tactic.ML";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    48
use "goals.ML";
403
4c66b1577753 added "axclass.ML", structure AxClass;
wenzelm
parents: 83
diff changeset
    49
use "axclass.ML";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    50
4949
c73f72daee64 tuned comments;
wenzelm
parents: 4781
diff changeset
    51
(*theory parser and loader*)
4408
ad74412ef7a0 version = "Isabelle98: Jan 1998";
wenzelm
parents: 4362
diff changeset
    52
val global_names = ref false;		(* FIXME tmp *)
2582
b6e37441acb8 cd made readably again;
wenzelm
parents: 2236
diff changeset
    53
cd "Thy";
73
075db6ac7f2f delete_file now has type string -> unit in both NJ and POLY,
clasohm
parents: 19
diff changeset
    54
use "ROOT.ML";
2582
b6e37441acb8 cd made readably again;
wenzelm
parents: 2236
diff changeset
    55
cd "..";
73
075db6ac7f2f delete_file now has type string -> unit in both NJ and POLY,
clasohm
parents: 19
diff changeset
    56
618
97b715e65f70 added init_database (somewhat experimental);
wenzelm
parents: 607
diff changeset
    57
use "install_pp.ML";
97b715e65f70 added init_database (somewhat experimental);
wenzelm
parents: 607
diff changeset
    58
4209
4e0c98184285 structure BasisLibrary;
wenzelm
parents: 3986
diff changeset
    59
(*several object-logics declare theories named List or Option, hiding
4e0c98184285 structure BasisLibrary;
wenzelm
parents: 3986
diff changeset
    60
  the eponymous basis library structures*)
4e0c98184285 structure BasisLibrary;
wenzelm
parents: 3986
diff changeset
    61
structure BasisLibrary =
4e0c98184285 structure BasisLibrary;
wenzelm
parents: 3986
diff changeset
    62
struct
4e0c98184285 structure BasisLibrary;
wenzelm
parents: 3986
diff changeset
    63
  structure List = List and Option = Option;
4e0c98184285 structure BasisLibrary;
wenzelm
parents: 3986
diff changeset
    64
end;
4e0c98184285 structure BasisLibrary;
wenzelm
parents: 3986
diff changeset
    65
4e0c98184285 structure BasisLibrary;
wenzelm
parents: 3986
diff changeset
    66
open Use;
4e0c98184285 structure BasisLibrary;
wenzelm
parents: 3986
diff changeset
    67
3508
089806e6133b removed init_database;
wenzelm
parents: 3280
diff changeset
    68
print_depth 8;