An blocking networked REPL for Chicken Scheme. Each new incoming connection runs in a new srfi-18 thread.
None except the core tcp and srfi-18 units.
- (nrepl <port> [spawn]) procedure
Listen to TCP port <port> and wait for incoming connections, doing (spawn thunk) for each. spawn defaults to thread-start!.
At the very beginning of your application, you can get network REPL access by doing this:
(use nrepl) (define repl-thread (thread-start! (lambda () (nrepl 1234))))
You can find the source here.
Kristian Lein-Mathisen at Adellica