<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2006/02/8fc9c1a56c497b9743515a5e3432d704"
  from="Jacques Carette &lt;carette@m...&gt;"
  author="Jacques Carette"
  date="2006-02-28T01:34:09"
  subject="Native delimited continuations for bytecode OCaml"
  prev="2006/02/d35c41940d245f05e99c25d110bb4645"
  next="2006/02/d086c78b00ef53ff342eb6b3938c6b37"
  next-in-thread="2006/03/1b6099159df6a69ccea68faa19d36a71"
  prev-thread="2006/02/e5953c6e2320144461b87a07084530c0"
  next-thread="2006/02/14a9c4cad7029f82e8818777b3f1896f"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="Native delimited continuations for bytecode OCaml">
<msg 
  url="2006/02/8fc9c1a56c497b9743515a5e3432d704"
  from="Jacques Carette &lt;carette@m...&gt;"
  author="Jacques Carette"
  date="2006-02-28T01:34:09"
  subject="Native delimited continuations for bytecode OCaml">
<msg 
  url="2006/03/1b6099159df6a69ccea68faa19d36a71"
  from="Till Varoquaux &lt;till.varoquaux@g...&gt;"
  author="Till Varoquaux"
  date="2006-03-01T09:13:59"
  subject="Re: [Caml-list] Native delimited continuations for bytecode OCaml">
<msg 
  url="2006/03/dfc3de45dca2695f4203116f7c36943d"
  from="Till Varoquaux &lt;till.varoquaux@g...&gt;"
  author="Till Varoquaux"
  date="2006-03-01T09:26:40"
  subject="Re: [Caml-list] Native delimited continuations for bytecode OCaml">
<msg 
  url="2006/03/953cc39ddd5c5c81af948f9f9cc74414"
  from="oleg@p..."
  author="oleg@p..."
  date="2006-03-01T11:41:02"
  subject="Re: [Caml-list] Native delimited continuations for bytecode OCaml">
<msg 
  url="2006/03/51ae8be18058cd05b2a2ec517acab3b8"
  from="Jacques Garrigue &lt;garrigue@m...&gt;"
  author="Jacques Garrigue"
  date="2006-03-01T23:51:59"
  subject="Re: [Caml-list] Native delimited continuations for bytecode OCaml">
<msg 
  url="2006/03/0ab7a7951270fa0b61d0c54c65a7e10b"
  from="oleg@p..."
  author="oleg@p..."
  date="2006-03-03T01:23:40"
  subject="Re: [Caml-list] Native delimited continuations for bytecode OCaml">
<msg 
  url="2006/03/806a3ee2f487ecaa30fce371b259ca4e"
  from="Till Varoquaux &lt;till.varoquaux@g...&gt;"
  author="Till Varoquaux"
  date="2006-03-03T01:36:54"
  subject="Re: [Caml-list] Native delimited continuations for bytecode OCaml">
</msg>
</msg>
</msg>
</msg>
</msg>
</msg>
</msg>
</thread>

<contents>
[Posted for oleg@pobox.com]

This message announces the native implementation of delimited
continuation framework for byte-code OCaml. The framework supports
`static' (shift/reset) and `dynamic' (prompt/control, shift0,
control0) delimited continuation operators with multiple, arbitrarily
typed prompts. The test file testd0.ml is a good example of using
shift/reset in OCaml programs.

The implementation is native: it copies a relevant fragment of the
OCaml interpreter stack (The stack or its fragments are never
inspected however). The implementation is efficient: only the
necessary prefix of the stack is copied. The implementation is
fully integrated with OCaml exceptions: exception handlers may be
captured in delimited continuation (and re-instated when the captured
continuation is installed); exceptions remove the prompts along the
way. The implementation has no typing problems, no bizarre 'a cont
types, and no use for magic. The implementation does no patching to
the OCaml system and is a regular library. If you compile the
top-level (see `make top'), you can use delimited continuation
operators in interactive OCaml sessions.

The library has been tested for OCaml 3.08, 3.09.0, and 3.09.1, on
ia32 Linux and FreeBSD platforms. The current version is 1.6, Feb 7,
2006.

The library is distributed under the MIT license.

	http://pobox.com/~oleg/ftp/packages/caml-shift.tar.gz


</contents>

</message>

