actors: Add new method of running REPL via REPL actor.
authorChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 27 Dec 2016 02:13:23 +0000 (20:13 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 27 Dec 2016 02:20:47 +0000 (20:20 -0600)
commit6a8dc6f801cc08e1b92dce53fc8a3758c9b0718a
treedd229a4dd3db4e4ab7487215b1e561aa5b4b2db7
parentfa2ee688df757fd5d7409b0787651b2124a8ce6a
actors: Add new method of running REPL via REPL actor.

Also adds new procedure to see if an actor is alive, and make use of it
in the new REPL actor.

* 8sync/actors.scm (actor-am-i-alive?): New procedure.
(ez-run-hive): Remove #:repl-server keyword.
* 8sync/repl.scm (<make-coop-server-handler, spawn-and-queue-repl-server!):
Remove.
(<repl-manager>, repl-manager-cleanup, repl-manager-init): New variables.
* demos/ircbot.scm (parse-args): Add --repl command line option.
(run-bot): Add and queue <repl-manager> actor if appropriate.
8sync/actors.scm
8sync/repl.scm
demos/ircbot.scm
doc/8sync-new-manual.org