Kotlin / kotlin-interactive-shell

Kotlin Language Interactive Shell
Apache License 2.0
587 stars 36 forks source link

DSL friendly #85

Open elect86 opened 2 years ago

elect86 commented 2 years ago

I see ki work with lambdas as well, that's nice

elect@5800x:~/Downloads/ki-archive/ki/bin$ ./ki.sh 
ki-shell 0.3/1.4.32
type :h for help
[0] :dependsOn eu.jrie.jetbrains:kotlin-shell-core:0.2.1
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[1] import eu.jrie.jetbrains.kotlinshell .shell .shell
[2] shell{
...export( "L" to "V")
...}

But it'd be even nicer if: