Can Joker be invoked with a filename, load the contents of the file, then run a repl?
Thought I was the only person who wanted this! So...: https://github.com/candid82/joker/pull/274
This is great.
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.
Already there, e.g. --repl :4321
.
Ah! That's perfect. Where did you find docs about ":4321"?
See --help
usage output.
Is that what "[<socket>]" is supposed to mean?
Yes. Any socket spec should work, as passed to net.Listen() in Go.
Got it! I used "localhost:4321" and Joker says it is listening. I attempted to connect from IntelliJ IDEA running Cursive, but Joker crashes 😞
Submit an Issue please!
Will do!