Ganges is a modern, dynamically typed, interpreted language with Sanskrit-inspired syntax. Built in Go, Ganges is designed to be fun, expressive, and powerful — perfect for scripting, learning, and exploring core programming concepts in a new light.
VISIT : Official Website
Download the latest binary for your OS:
Visit Download section for complete details : Download Section
gangesMac
VISIT Docs for extensive info : Official Docs
Concept | Ganges Keyword | Description |
---|---|---|
Variable | rama |
Declare a variable |
Function | kriya |
Define a function |
If / Else | yadi / anyatha |
Conditional logic |
vadah |
Console output | |
While loop | chakra |
Loop construct |
Return | daan |
Return from function |
Boolean values | satya / asatya |
true / false |
rama x = 10;
rama y = 20;
vadah(x + y); // 30
rama greet = kriya(name) {
vadah("Namaste, " + name);
};
greet("Sita");
rama mood = yadi (5 > 3) {
"happy"
} anyatha {
"sad"
};
vadah(mood); // happy
rama i = 0;
chakra (i < 5) {
vadah(i);
i = i + 1;
};
- 🐹 Go for the interpreter
- ❤️ Love for Sanskrit & clean syntax
Apache 2.0
- Monkey (by Thorsten Ball)
- Python & JavaScript (for simplicity)
- Sanskrit (for semantics & elegance)