I'm not sure what a continuation is exactly, but Mr. Thun, Joy's author, does, because in the standard Joy library is the following:
...
(* - - - - - C O M B I N A T O R S - - - - - *)
b == [i] dip i;
leftdist == [app2] dip ternary;
callcc == [conts rest rest] dip step;
callcc1 == [conts stack put rest rest] dip step;
callcc means "call with current continuation". So there is a continuation combinator.
It would be nice if we could share code. I wrote a toy VM for a language that by strange coincidence, serendipity, or perhaps synechdoche resembles Joy. This toy could not have been written in C, at least by me. I give total props to Oberon. Oberon is compiled, as fast as C++, typesafe, and garbage collected. (M.C.: post to start a gc/refcount squabble thread). Its syntax will pose no problem to anyone. The only tricky thing about Oberon is the environment, which has its own conventions about mouse usage, editing, and other things. (Here I am speaking of Oberon S3 in particular, particularly Native and Linux Native.) It has a mode-less GUI (i.e. no modal dialogues) which runs either in an X window (Linux Native) or as an OS on bare x86 hardware. Details may be found at
http://www.oberon.ethz.ch/native/ . If a few of us could download Oberon and set it up, I could easily post an .Arc (Oberon archive format) file with the toy VM.
Here's a T-shirt concept: (front) Its just one d*** thing after another...
(back) concatenative languages mailing list
sr