From: "Harrison, John R" <john.r.harrison@intel.com>
To: "OCaml" <caml-list@inria.fr>
Subject: Saving the OCaml interpreter state
Date: Tue, 10 Apr 2007 15:08:21 -0700 [thread overview]
Message-ID: <509223F0BF55E74FA1247D17207E7A0C014E5063@orsmsx419.amr.corp.intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 569 bytes --]
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.
[-- Attachment #2: Type: text/html, Size: 3036 bytes --]
next reply other threads:[~2007-04-10 22:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-10 22:08 Harrison, John R [this message]
2007-04-12 12:27 ` [Caml-list] " Michael Nedzelsky
2007-04-12 15:53 ` Harrison, John R
2007-04-12 18:27 ` Jon Harrop
2007-04-12 23:52 ` Yaron Minsky
2007-04-13 19:07 ` Harrison, John R
2007-04-13 19:38 ` Gerd Stolpmann
2007-04-13 20:27 ` Daniel Bünzli
2007-04-14 11:59 ` Michael Nedzelsky
2007-04-22 10:00 ` Xavier Leroy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=509223F0BF55E74FA1247D17207E7A0C014E5063@orsmsx419.amr.corp.intel.com \
--to=john.r.harrison@intel.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox