Niǎo is a small and experimental, toy language (for now).
Niao is aimed to be compiled into multiple backends. e.g. BPF, WebAsembly and such.
See Memo on Notion
fun max(x : i32, y : i32) {
if x > y or x == y {
return x;
} else {
return y;
}
}
some := 1
other := 3
puts(max(some, other))