[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Interactive programming with Event Loop?
From: |
Mark H Weaver |
Subject: |
Re: Interactive programming with Event Loop? |
Date: |
Sat, 30 Sep 2017 04:24:23 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Christopher Howard <address@hidden> writes:
> Hi, I want to code a game using theChickadee framework, but I want to
> do it in an interactive programming environment, where I can evaluate
> things in the REPL while the Chickadee kernel is running, rather than
> needing to restart the kernel after each modification. The Chickadee
> kernel runs update hooks every so many milliseconds, so I think I just
> need to figure out a way to communicate code to an update hook, that it
> could execute. What would be the simplest and/or most sensible way to
> do this? (Threads? IPC? Communicate to a network port?)
Take a look at section 6.18.14 (Cooperative REPL Servers) of the Guile
reference manual.
Mark