Lipi

Lipi

A programming language with Nepali-inspired syntax

Familiar Syntax

Lipi features a syntax that is intentionally designed to be familiar to speakers of Nepali language, making it easier to learn and use for those with a background in Nepali, Hindi, or other Sanskrit based languages.

Nepali-inspired syntax
Easy to learn for speakers of Nepali, Hindi, or Sanskrit-based languages
Simple and intuitive control structures
Strong type system with native types
Straightforward function definitions
Familiar programming constructs
(: A simple program to calculate factorial :)
kaam purna factorial(purna n) {
  yadi (n <= 1) {
    firta 1;
  }
  firta n * factorial(n - 1);
}

bhana("Enter a number: ");
purna n;
suna(n);
bhana("Factorial of ");
bhana(n);
bhana(" is ");
bhana(factorial(n));

Ready to dive in?

Explore our comprehensive documentation to learn everything about Lipi.