joker

Discuss all things joker, the Clojure interpreter/linter on top of Go. https://github.com/candid82/joker
hairfire 2019-10-03T17:58:52.017400Z

Can Joker be invoked with a filename, load the contents of the file, then run a repl?

1👍
jcburley 2019-10-03T18:39:17.017800Z

Thought I was the only person who wanted this! So...: https://github.com/candid82/joker/pull/274

hairfire 2019-10-03T18:56:54.018100Z

This is great.

1👍
hairfire 2019-10-03T18:58:38.018300Z

Now I have another question. Can one start Joker so that it provides a socket repl on a specified port. This could allow an IDE use it.

jcburley 2019-10-03T19:05:39.018500Z

Already there, e.g. --repl :4321.

hairfire 2019-10-03T19:11:21.018800Z

Ah! That's perfect. Where did you find docs about ":4321"?

jcburley 2019-10-03T19:12:15.019Z

See --help usage output.

hairfire 2019-10-03T19:13:44.019200Z

Is that what "[<socket>]" is supposed to mean?

jcburley 2019-10-03T19:16:26.019400Z

Yes. Any socket spec should work, as passed to net.Listen() in Go.

hairfire 2019-10-03T19:18:26.019600Z

Got it! I used "localhost:4321" and Joker says it is listening. I attempted to connect from IntelliJ IDEA running Cursive, but Joker crashes 😞

1😲
jcburley 2019-10-03T19:20:36.019900Z

Submit an Issue please!

hairfire 2019-10-03T19:20:43.020100Z

Will do!