Skip to content

Instantly share code, notes, and snippets.

@mauricioszabo
Last active April 18, 2022 04:25
Show Gist options
  • Save mauricioszabo/1fd444750ae2161a0367b24486f2c488 to your computer and use it in GitHub Desktop.
Save mauricioszabo/1fd444750ae2161a0367b24486f2c488 to your computer and use it in GitHub Desktop.
Open Socket REPL on CLR or Clojerl
#Clojerl
./bin/clje \
-e "(do (require 'clojure.core.server) \
(clojure.core.server/start-server \
{:name \"socket-repl\" \
:port 4444 \
:accept 'clojure.main/repl \
:address \"localhost\"}))" -r
#CLR
Clojure.Main.exe \
-e "(do (require 'clojure.core.server) \
(clojure.core.server/start-server \
{:name \"socket-repl\" \
:port 4444 \
:accept 'clojure.main/repl \
:address \"localhost\"}))" \
-r
(do (require 'clojure.core.server)
(clojure.core.server/start-server
{:name "socket-repl"
:port 4444
:accept 'clojure.main/repl
:address "localhost"}))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment