src/Pure/pure_setup.ML
author wenzelm
Tue, 24 Jul 2007 19:44:33 +0200
changeset 23962 e0358fac0541
parent 23828 a8a3962f8eeb
child 24053 af1dd276fae0
permissions -rw-r--r--
Runtime exceptions as values (from library.ML);
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
23828
a8a3962f8eeb Pure theory setup.
wenzelm
parents:
diff changeset
     1
(*  Title:      Pure/pure_setup.ML
a8a3962f8eeb Pure theory setup.
wenzelm
parents:
diff changeset
     2
    ID:         $Id$
a8a3962f8eeb Pure theory setup.
wenzelm
parents:
diff changeset
     3
    Author:     Makarius
a8a3962f8eeb Pure theory setup.
wenzelm
parents:
diff changeset
     4
a8a3962f8eeb Pure theory setup.
wenzelm
parents:
diff changeset
     5
Pure theory setup.
a8a3962f8eeb Pure theory setup.
wenzelm
parents:
diff changeset
     6
*)
a8a3962f8eeb Pure theory setup.
wenzelm
parents:
diff changeset
     7
a8a3962f8eeb Pure theory setup.
wenzelm
parents:
diff changeset
     8
use_thy "Pure";
a8a3962f8eeb Pure theory setup.
wenzelm
parents:
diff changeset
     9
structure Pure = struct val thy = theory "Pure" end;
a8a3962f8eeb Pure theory setup.
wenzelm
parents:
diff changeset
    10
a8a3962f8eeb Pure theory setup.
wenzelm
parents:
diff changeset
    11
Context.add_setup
a8a3962f8eeb Pure theory setup.
wenzelm
parents:
diff changeset
    12
 (Sign.del_modesyntax Syntax.default_mode Syntax.appl_syntax #>
a8a3962f8eeb Pure theory setup.
wenzelm
parents:
diff changeset
    13
  Sign.add_syntax Syntax.applC_syntax);
a8a3962f8eeb Pure theory setup.
wenzelm
parents:
diff changeset
    14
use_thy "CPure";
a8a3962f8eeb Pure theory setup.
wenzelm
parents:
diff changeset
    15
structure CPure = struct val thy = theory "CPure" end;
a8a3962f8eeb Pure theory setup.
wenzelm
parents:
diff changeset
    16
a8a3962f8eeb Pure theory setup.
wenzelm
parents:
diff changeset
    17
use "install_pp.ML";
a8a3962f8eeb Pure theory setup.
wenzelm
parents:
diff changeset
    18
val use = ThyInfo.use;
a8a3962f8eeb Pure theory setup.
wenzelm
parents:
diff changeset
    19
val cd = File.cd o Path.explode;
a8a3962f8eeb Pure theory setup.
wenzelm
parents:
diff changeset
    20
ml_prompts "ML> " "ML# ";
a8a3962f8eeb Pure theory setup.
wenzelm
parents:
diff changeset
    21
a8a3962f8eeb Pure theory setup.
wenzelm
parents:
diff changeset
    22
proofs := 0;