src/Pure/ML-Systems/polyml.ML
author wenzelm
Mon, 26 Oct 2009 11:30:08 +0100
changeset 33178 70522979c7be
parent 32776 1504f9c2d060
child 33543 a4dbf0f92d96
permissions -rw-r--r--
more precise dependencies, notably for HOL-Multivariate_Analysis;

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

Compatibility wrapper for Poly/ML 5.2 and 5.2.1.
*)

use "ML-Systems/unsynchronized.ML";

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";

if ml_system = "polyml-5.2"
then (use "ML-Systems/thread_dummy.ML"; use "ML-Systems/multithreading.ML")
else use "ML-Systems/multithreading_polyml.ML";

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";