Ah, I see.  Thanks.

$ chezscheme --libdirs lib
Chez Scheme Version 9.5
Copyright 1984-2017 Cisco Systems, Inc.

> (import (except (rnrs (6)) display) (control-features))
> (run (lambda () (call-with-continuation-prompt (lambda () (display
'foo))))
       )
foo

On Sat, Nov 5, 2022 at 9:14 PM Marc Nieper-Wißkirchen <marc.nie...@gmail.com>
wrote:

> The reason is that I have to wrap Chez's evaluator as it doesn't
> support delimited continuations natively. Please take a look at the
> definition of the test macro, which does the wrapping.
>
> Does it help?
>
> Am So., 6. Nov. 2022 um 06:10 Uhr schrieb Shiro Kawai <
> shiro.ka...@gmail.com>:
> >
> > I'm missing something trivial, but how can I try the reference
> implementation on REPL?  I get this (I'm in srfi-226 directory):
> >
> > $ chezscheme --libdirs lib
> > Chez Scheme Version 9.5
> > Copyright 1984-2017 Cisco Systems, Inc.
> >
> > > (import (except (rnrs (6)) display) (control-features))
> > > (call-with-continuation-prompt (lambda () (display 'foo)))
> > Exception in dynamic-environment-marks: #f is not of type #<record type
> dynamic-environment>
> > Type (debug) to enter the debugger.
> >
> > I can run scripts, e.g. chezscheme --libdirs lib ./tests.sqs
> >
> > --shiro
> >
>

Reply via email to