chickadee » nrepl

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

nrepl <port> #!optional spawnprocedure

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

Contents »