Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc
src/server
test/server
.gitignore
README.md
project.clj

README.md

server

A multi-user nREPL server. Proof-of-concept.

Usage

  1. Clone it
  2. visit directory and "lein repl"
  3. On the server computer:
(use 'server.core)
(new-object-server <port-number>)
  1. On the client computer:
(use 'lamina.core 'aleph.object)
(def ch (object-client {:host <hostname> :port <port-number>}))
(receive-all @ch #(println %))
(enqueue @ch <username>)
  1. How to send stuff:
(enqueue @ch {:op :eval :code "<code-here>"})
  1. See the results

License

Copyright © 2012 Daniel Ziltener

Distributed under the Eclipse Public License, the same as Clojure.

You can’t perform that action at this time.