To build a project:
./gradlew build
To genrate runnable jar:
./gradlew jar
To list all posible tasks:
./gradlew task
test.nt
fu hello(message: 'Hello World!') {
println(message)
}
hello()
You can run it like this:
java -jar ./build/libs/langnt.jar test.nt
You can find a list of complete example files here.