NREPL

  1. NREPL
    1. Requirements
    2. API
    3. Example
    4. Source code repository
    5. Author
    6. License

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