Notch — a scripting and programming language for the JVM, from Montana State University (MSU)

Notch

Scripting
For Java & Minecraft

Notch is a scripting and programming language for the JVM, built at Montana State University. Made for developers who already work in Java, it runs anywhere Java runs, calls directly into Java libraries, and stays small enough to learn in an afternoon.

Speaks Java, natively
import java.time.LocalDate

today = LocalDate.now()
print('Today is ' + today)

for name in ['Ada', 'Bob']
  print('Hello, ' + name)
end
Java interop →
Null that won't surprise you
name = null
user = name ?: 'anonymous'
print(user)

mode = config? ?: 'default'
print(mode)

print(name is empty)
Null & values →
Reads like you'd say it
word = 'notch'
print(word starts with 'no')
print(word contains 'otc')

double = \ n -> n * 2
nums = [1, 2]
print(nums is not empty)
print(nums.map(double))
Operators →

Start here