is it possible to connect to a boot repl?
I'm not familiar with boot, but if you can start a socket REPL from boot, yes.
java.lang.RuntimeException: Unable to resolve symbol: require in this context
clojure.lang.Compiler$CompilerException: Syntax error compiling at (1:5).
I am trying to connect and having this issue when I load file into the repl sessionCan you evaluate forms from the editor? For example, can you evaluate (clojure.core/range 200)
and send me the result?
I can eval simple forms
yes
That expression works fine
It shows the whole 200 elements, or does it stops on 9
?
and I can use "Eval selection" on the ns form and it returns nil, like usual
it returns all 200
actually, it looks like just Load file
that isn't working
Ok, so you're connecting to a nREPL. I think I may have found my first bug 😄 Try to export the following environment variable:
BOOT_JVM_OPTIONS='-Dclojure.server.repl="{:port 5555 :accept clojure.core.server/repl}"'
I can select the whole buffer and Eval Selection
And then, restart boot and see if you can connect to port 5555