src/Pure/pure.ML
author berghofe
Mon, 17 May 1999 17:06:50 +0200
changeset 6653 b0b819902eaa
parent 6366 0be3281aa578
child 6696 68b4f97b57cd
permissions -rw-r--r--
Added setup for BrowserInfo.

(*  Title:      Pure/pure.ML
    ID:         $Id$
    Author:     Markus Wenzel, TU Muenchen

Final setup of the Pure theories.
*)

local
  val common_setup =
    ObjectLogic.setup @
    Locale.setup @
    HTML.setup @
    ProofContext.setup @
    Method.setup @
    Attrib.setup @
    AxClass.setup @
    BrowserInfo.setup;
in
  structure Pure =
  struct
    val thy =
      PureThy.begin_theory "Pure" [ProtoPure.thy]
      |> Theory.add_syntax Syntax.pure_appl_syntax
      |> Library.apply common_setup
      |> PureThy.end_theory;
  end;

  structure CPure =
  struct
    val thy =
      PureThy.begin_theory "CPure" [ProtoPure.thy]
      |> Theory.add_syntax Syntax.pure_applC_syntax
      |> Library.apply common_setup
      |> Theory.copy
      |> PureThy.end_theory;
  end;
end;

ThyInfo.register_theory ProtoPure.thy;
ThyInfo.register_theory Pure.thy;
ThyInfo.register_theory CPure.thy;