English version
Accueil     Ŕ propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis ŕ jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml ŕ l'adresse ocaml.org.

Browse thread
Saving the OCaml interpreter state
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-04-10 (22:08)
From: Harrison, John R <john.r.harrison@i...>
Subject: Saving the OCaml interpreter state
I think I asked roughly this question several years ago, but I would
appreciate

a reminder.

 

In several read-eval-print loops for functional languages (e.g. Poly,
SML/NJ,

various LISPs), it's possible to save and restore the current state so
you can

start up again in an environment with all the same objects and name
bindings

present. OCaml does not currently allow this. How hard would it be to
modify

OCaml to support save/restore of sessions? At the moment I'm forced into

OS-specific checkpointing of processes.

 

John.