src/Pure/ML-Systems/polyml-5.2.ML
author wenzelm
Mon, 25 Oct 2010 16:17:16 +0200
changeset 40127 e4f1275820b2
parent 39616 8052101883c3
permissions -rw-r--r--
significantly improved Isabelle/Isar implementation manual;

(*  Title:      Pure/ML-Systems/polyml-5.2.ML

Compatibility wrapper for Poly/ML 5.2.
*)

open Thread;

structure ML_Name_Space =
struct
  open PolyML.NameSpace;
  type T = PolyML.NameSpace.nameSpace;
  val global = PolyML.globalNameSpace;
end;

fun reraise exn = raise exn;

use "ML-Systems/polyml_common.ML";
use "ML-Systems/thread_dummy.ML";
use "ML-Systems/multithreading.ML";
use "ML-Systems/unsynchronized.ML";

val _ = PolyML.Compiler.forgetValue "ref";
val _ = PolyML.Compiler.forgetType "ref";

val pointer_eq = PolyML.pointerEq;

fun share_common_data () = PolyML.shareCommonData PolyML.rootFunction;

use "ML-Systems/compiler_polyml-5.2.ML";
use "ML-Systems/pp_polyml.ML";
use "ML-Systems/pp_dummy.ML";