You are looking at historical revision 30904 of this page. It may differ significantly from its current revision.

NREPL

An blocking networked REPL for Chicken Scheme. Each new incoming connection runs in a new srfi-18 thread.

Requirements

None except the core tcp and srfi-18 units.

API

[procedure] (nrepl <port> [spawn])

Listen to TCP port <port> and wait for incoming connections, doing (spawn thunk) for each. spawn defaults to thread-start!.

Example

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))))

Source code repository

You can find the source here.

Author

Kristian Lein-Mathisen at Adellica

License

BSD