This Content is from Stack Overflow. Question asked by cmal
nrepl provide a way to connect to a running remote Clojure program.
Does Kotlin have a network REPL like Clojure’s
maybe have a look at:
maybe it comes near to what you want to have.
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.
This Question was asked in StackOverflow by cmal and Answered by Dirk Hoffmann It is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.