Examples
Click any example to load it directly into the playground.
Quick Start
Variables, assignment, and output. The minimum viable Blan program.
If / Else-If / Else
Chained conditional branches using agar, warna, and nahi_toh.
While Loop
Arithmetic decrementing with JabTak. Runs until the condition is false.
Boolean Logic
Logical operators with short-circuit evaluation. sach and jhooth as first-class values.
Boolean in Conditionals
A boolean variable used directly as a condition without an explicit comparison.
Numeric Boolean Mapping
sach behaves like 1 and jhooth like 0 inside numeric expressions and comparisons.
String Concatenation
The + operator joins strings when both operands are string types.
Combined: Branch + Loop
Conditionals and loops used together in one program.
Comparison Operators
All six comparison operators evaluated against numbers and booleans.
Runtime Error — Modulo by Zero
The evaluator stops with a themed runtime error when dividing by zero.