All Projects → cypressious → KotlinW

cypressious / KotlinW

Licence: other
A small wrapper for the Kotlin compiler that can be used to execute .kts scripts

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to KotlinW

codee-app
Android IDE for programming fully written on Kotlin
Stars: ✭ 42 (+133.33%)
Mutual labels:  kotlin-script
KotlinCompilerPluginExample
This is an example project that shows how to create a Kotlin Compiler Plugin. The plugin will print "Hello from" and the name of the file that is being compiled, as a compiler warning to the terminal log.
Stars: ✭ 43 (+138.89%)
Mutual labels:  kotlin-compiler
kotlin-plugin-generated
A Kotlin compiler plugin that annotates Kotlin-generated methods for improved coverage reports
Stars: ✭ 33 (+83.33%)
Mutual labels:  kotlin-compiler
Kompute
Kotlin Compiler plugin bringing reactivity to variable declarations
Stars: ✭ 18 (+0%)
Mutual labels:  kotlin-compiler
script.kt
Convenient kotlin script wrapper
Stars: ✭ 15 (-16.67%)
Mutual labels:  kotlin-script
kotlin-process
Kotlin friendly way to run an external process
Stars: ✭ 80 (+344.44%)
Mutual labels:  kotlin-script

KotlinW

A small wrapper for the Kotlin compiler that can be used to execute .kts scripts inspired by gradlew and similar wrappers that download the actual binaries. More information regarding .kts scripts can be found [here](https://kotlinlang.org/docs/tutorials/command-line.html#using-th e-command-line-to-run-scripts).

Build instructions

Call gradlew build. This will generate a minified jar with all dependencies and a launch script for Windows. Contributions for a Linux launch script are welcome.

Usage

After building the minified jar, on Windows use the launch script and call kotlinw myScript.kts. On any other platform, call java -jar kotlinw-minified-1.0-SNAPSHOT.jar myScript.kts. This will download the latest version of the Kotlin compiler and the stdlib and will execute your script.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].