Kustom is an interpreted language, written in Kotlin native. Kustom is design with ease-of-use in mind and imposes minimal syntax restrictions on users.
In Kustom, every statement is an expression, meaning the syntax is very fluid and intuitive.
You can do everything in Kustom that you can do in Java, Node, Kotlin (etc)
Kustom can be ran on any platform where the interpreter is present.
Types are restrictive! Kustom has no strict typing
/* Ask the user for their name */
name = read("What is your name?")
// If they're called Kustom, they're awesome!
if(name == "Kustom") {
println("You are awesome!")
}
Build the executable:
./gradlew assemble
The executable can be found in build/bin/native/releaseExecutable
Execute:
kustom-native <file>
- file - Optional file path to be executed. If not provided, will begin interactive REPL.
- Full OO and functional support
- Compilation to JVM Byecode
- Compilation to native