You would need a non-blocking REPL. Which exists for all Unix variants:
parley

Just install it with chicken-install
On 2 Jul 2014 03:41, "Richard" <[email protected]> wrote:

> Hello, I wanted to do some live game programming with Chicken Scheme. I
> would like to adjust my game whilst it is running a game loop. I tried
> srfi-18 threads for this but found it to be too unwieldy. So I wondered if
> there is a way to process the repl inside the loop. An example of what I
> would like:
>
> (let loop ()
>         (process-repl) ; <- this
>         (unless (do-game-stuff) (loop)))
>
> I could not find if anything like this exists. Does anybody know of a way?
>
> thanks,
> Pluizer
>
> _______________________________________________
> Chicken-users mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/chicken-users
>
_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to