12345678910111213141516171819202122232425262728293031(* Time-stamp: <modified the 28/08/2019 (at 16:56) by Erwan Jahier> *)(* class type ocaml_reactive_machine = *)(* object *)(* method step : Data.subst list -> Data.subst list *)(* method kill : string -> unit *)(* end;; *)(* type vars = (Data.ident * Data.t) list *)letmyexit_i=failwith"error in rdbg (OcamlRun.make_ocaml)"let(make_ocaml:string->RdbgPlugin.t)=funcmxs->let_=Dynlink.allow_unsafe_modulestrue;tryDynlink.loadfilecmxswithDynlink.Errormsg->Printf.eprintf"\n*** error in rdbg.cmxa (Dynlink.loadfile %s).\n*** %s.\n"cmxs(Dynlink.error_messagemsg);flushstderr;myexit2inletres=OcamlRM.get_plugincmxsinPrintf.eprintf"rdbg: %s file loaded.\n"cmxs;res(* cf
http://blog.rastageeks.org/ocaml/article/dynlink-as-dlopen
http://okmij.org/ftp/ML/first-class-modules/
*)let(make:string->RdbgPlugin.t)=make_ocaml