Re: Prompt handler

2022-11-06 Thread Marc Nieper-Wißkirchen
Done. Please review my lasted commit. Thanks! Marc Am So., 6. Nov. 2022 um 12:22 Uhr schrieb Marc Nieper-Wißkirchen : > > Am So., 6. Nov. 2022 um 10:33 Uhr schrieb Shiro Kawai : > > > > The handler passed to call-with-continuation-prompt is only called if the > > continuation up to teh same prom

Re: Prompt handler

2022-11-06 Thread Marc Nieper-Wißkirchen
Am So., 6. Nov. 2022 um 10:33 Uhr schrieb Shiro Kawai : > > The handler passed to call-with-continuation-prompt is only called if the > continuation up to teh same prompt tag is aborted by > abort-current-continuation, correct? Yes. > If that's the case, wouldn't it be more understandable to na

Prompt handler

2022-11-06 Thread Shiro Kawai
The handler passed to call-with-continuation-prompt is only called if the continuation up to teh same prompt tag is aborted by abort-current-continuation, correct? If that's the case, wouldn't it be more understandable to name it something like abort-handler? Another confusing part is that call-w

Re: Running reference implementation on REPL

2022-11-06 Thread Shiro Kawai
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

Re: Running reference implementation on REPL

2022-11-06 Thread Marc Nieper-Wißkirchen
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 : > > I'm missing something trivial, but