Sajilo

A programming language
with Nepali keywords.

Sajilo (सजिलो, Nepali for “easy”) is a statically typed, compiled language. Its compiler, written in C++ by Suraj Adhikari, turns .sj files into x86-64 assembly that talks straight to Linux.

Kind
Statically typed, compiled
Compiler
C++, written from scratch
Target
x86-64 Linux, via NASM
Files
.sj
Status
In active development since August 2026

One program, every stage.

Source

hello.sj

1func main() -> deu(int) {2  manau string greeting = "Namaste, World!";3  write(greeting, 16);4  laijau(0);5}

Characters become tokens.

FUNCIDENTIFIER(main)LEFT_PARENRIGHT_PARENARROWDEULEFT_PARENKEYWORD(int)RIGHT_PARENLEFT_BRACEMANAUKEYWORD(string)IDENTIFIER(greeting)ASSIGNSTRING_LITERAL(Namaste, World!)SEMICOLONWRITELEFT_PARENIDENTIFIER(greeting)COMMAINT_LITERAL(16)RIGHT_PARENSEMICOLONLAIJAULEFT_PARENINT_LITERAL(0)RIGHT_PARENSEMICOLONRIGHT_BRACEEND_OF_FILE

The keywords.

manau
मानौं
let: declares a variable
func
कार्य
declares a function
deu
देऊ
give: the return type
jaba
जब
when: if
natra
नत्र
otherwise: else
jabasamma
जबसम्म
as long as: while
laijau
लैजाऊ
take: return

How the compiler works.

  1. LexerReads characters into tokens.
  2. ParserA Pratt parser builds the syntax tree.
  3. SemanticsA scoped symbol table resolves names and checks types.
  4. IRLowers the tree to three-address code.
  5. CodegenEmits x86-64 NASM that calls Linux directly.

Questions.

What does Sajilo mean?

Sajilo (सजिलो) is Nepali for “easy” or “simple”. The language keeps ordinary programming syntax and uses Nepali words for its keywords.

Who made Sajilo?

Suraj Adhikari, a C++ and systems engineer in Kathmandu, Nepal, designed the language and is writing its compiler from scratch in C++.

Can I use it?

The source is open on GitHub and builds with CMake. It is early: Sajilo has int and string types, functions, conditionals, loops and system calls for read, write and exit.