Zowm
Jump to navigation
Jump to search
Zowm is an esolang where every value is either a function or an integer.
let x = 72; let y = 105; let combined = x * 256 + y; print(combined); // prints 'Hi'
Every function must specify the type of its parameters:
fun multiply(a: n, b: n) { return a * b; }
let multiply = fun(a: n, b: n) { return a * b; }
Zowm has static typechecking:
print(log(2, rand(-15, 3))); // Domain error
let in = input(); if in == 0 { exit(); } print(irepr(rand(0, in)));