Last active
April 18, 2022 04:25
-
-
Save mauricioszabo/1fd444750ae2161a0367b24486f2c488 to your computer and use it in GitHub Desktop.
Open Socket REPL on CLR or Clojerl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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