src/Pure/ROOT.ML
author wenzelm
Mon Oct 04 15:36:31 1993 +0100 (1993-10-04)
changeset 19 929ad32d63fc
parent 2 c67f44be880f
child 73 075db6ac7f2f
permissions -rw-r--r--
Pure/ROOT.ML
cleaned comments;
removed extraneous 'print_depth 1';
replaced Basic_Syntax by BasicSyntax
added 'use "install_pp.ML"';

Pure/README
fixed comments;

Pure/POLY.ML
Pure/NJ.ML
make_pp: added fbrk;

Pure/install_pp.ML
replaced "Ast" by "Syntax";

Pure/sign.ML
added 'quote' to some error msgs;
wenzelm@19
     1
(*  Title:      Pure/ROOT.ML
clasohm@0
     2
    ID:         $Id$
wenzelm@19
     3
    Author:     Lawrence C Paulson, Cambridge University Computer Laboratory
clasohm@0
     4
    Copyright   1993  University of Cambridge
clasohm@0
     5
wenzelm@19
     6
Root file for Pure Isabelle: all modules in proper order for loading.
wenzelm@19
     7
Loads pure Isabelle into an empty database (see also Makefile).
clasohm@0
     8
wenzelm@19
     9
TO DO:
clasohm@0
    10
instantiation of theorems can lead to inconsistent sorting of type vars if
wenzelm@19
    11
'a::S is already present and 'a::T is introduced.
clasohm@0
    12
*)
clasohm@0
    13
clasohm@0
    14
val banner = "Pure Isabelle";
clasohm@0
    15
val version = "February 93";
clasohm@0
    16
clasohm@0
    17
print_depth 1;
clasohm@0
    18
clasohm@0
    19
use "library.ML";
clasohm@0
    20
use "term.ML";
clasohm@0
    21
use "symtab.ML";
clasohm@0
    22
clasohm@0
    23
structure Symtab = SymtabFun();
wenzelm@19
    24
wenzelm@19
    25
(*Syntax module*)
clasohm@0
    26
cd "Syntax";
clasohm@0
    27
use "ROOT.ML";
clasohm@0
    28
cd "..";
clasohm@0
    29
wenzelm@19
    30
(*Theory parser*)
wenzelm@19
    31
cd "Thy";
wenzelm@19
    32
use "ROOT.ML";
wenzelm@19
    33
cd "..";
wenzelm@19
    34
clasohm@0
    35
use "type.ML";
clasohm@0
    36
use "sign.ML";
clasohm@0
    37
use "sequence.ML";
clasohm@0
    38
use "envir.ML";
clasohm@0
    39
use "pattern.ML";
clasohm@0
    40
use "unify.ML";
clasohm@0
    41
use "net.ML";
clasohm@0
    42
use "logic.ML";
clasohm@0
    43
use "thm.ML";
clasohm@0
    44
use "drule.ML";
clasohm@0
    45
use "tctical.ML";
clasohm@0
    46
use "tactic.ML";
clasohm@0
    47
use "goals.ML";
clasohm@0
    48
clasohm@0
    49
(*Will be visible to all object-logics.*)
clasohm@0
    50
structure Type = TypeFun(structure Symtab=Symtab and Syntax=Syntax);
clasohm@0
    51
structure Sign = SignFun(structure Type=Type and Syntax=Syntax);
clasohm@0
    52
structure Sequence = SequenceFun();
clasohm@0
    53
structure Envir = EnvirFun();
clasohm@0
    54
structure Pattern = PatternFun(structure Sign=Sign and Envir=Envir);
clasohm@0
    55
structure Unify = UnifyFun(structure Sign=Sign and Envir=Envir
wenzelm@19
    56
                           and Sequence=Sequence and Pattern=Pattern);
clasohm@0
    57
structure Net = NetFun();
clasohm@0
    58
structure Logic = LogicFun(structure Unify=Unify and Net=Net);
clasohm@0
    59
structure Thm = ThmFun(structure Logic=Logic and Unify=Unify and Net=Net
wenzelm@19
    60
                             and Pattern=Pattern);
clasohm@0
    61
structure Drule = DruleFun(structure Logic=Logic and Thm=Thm);
clasohm@0
    62
structure Tactical = TacticalFun(structure Logic=Logic and Drule=Drule);
wenzelm@19
    63
structure Tactic = TacticFun(structure Logic=Logic and Drule=Drule
wenzelm@19
    64
                             and Tactical=Tactical and Net=Net);
clasohm@0
    65
structure Goals = GoalsFun(structure Logic=Logic and Drule=Drule
wenzelm@19
    66
                           and Tactic=Tactic and Pattern=Pattern);
wenzelm@19
    67
open BasicSyntax Thm Drule Tactical Tactic Goals;
clasohm@0
    68
clasohm@0
    69
structure Pure = struct val thy = pure_thy end;
clasohm@2
    70
wenzelm@19
    71
use "install_pp.ML";
clasohm@2
    72