Clojure's nrepl
provide a way to connect to a running remote Clojure program.
Does Kotlin have a network REPL like Clojure's nrepl
?
CodePudding user response:
No there isn't - maybe you can define the requirements and what/why you want and someone might develop it
CodePudding user response:
maybe have a look at:
https://github.com/kscripting/kscript#treat-yourself-a-repl-with---interactive
maybe it comes near to what you want to have.
https://github.com/holgerbrandl/kscript
kscript by Holder Brandl adds enhanced scripting support for Kotlin on *nix-based systems. kscript provides an easy-to-use, very flexible, and almost zero-overhead solution to write self-contained mini-applications with Kotlin.
also available via https://sdkman.io/
$ sdk install kscript
For trying out small kotlin code snippets, I sometimes just use the scratches
from my favorite IDE Intellij: https://www.jetbrains.com/help/idea/scratches.html
Maybe you find the latter also "helpful" for whatever you "intended" to achieve in using a REPL.