command line script launcher
% ./bin/kotlin -script hello.ktscript
hello world
% cat hello.ktscript
fun hello(what: String) = println("hello $what")
hello("world")
Note it currently takes 8 seconds to evaluate hello world script.
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
OUT hello world
|
||||
Return code: 0
|
||||
Reference in New Issue
Block a user