A simple language for real apps. Short to write, clear errors, no boilerplate.
Windows is coming soon.
Linux is coming soon.
fn double(x) -> x * 2
let name = "Karan"
print("Hello {name}", double(21))
Run it with niv run. Niv-Lang's compiler is written in Niv-Lang itself.
Any AI (ChatGPT, Claude, Gemini, anything that can open a link) can read Niv-Lang and write code in it. Give it this prompt:
Plain-text files for machines: llms.txt (short index) and llms-full.txt (the full guide with rules).
Every feature has a short way and a long way. Write whichever you like.
Tap the book to turn it over