Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.19 KB

README.md

File metadata and controls

28 lines (19 loc) · 1.19 KB

Niao

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.

Language overview

See Memo on Notion

Example code

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))