Notch — a scripting and programming language for the JVM, from Montana State University (MSU)
Speaks Java, natively
import java.time.LocalDate
today = LocalDate.now()
print('Today is ' + today)
for name in ['Ada', 'Bob']
print('Hello, ' + name)
endNull that won't surprise you
name = null
user = name ?: 'anonymous'
print(user)
mode = config? ?: 'default'
print(mode)
print(name is empty)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))