Skip to content
/ Ganges Public

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.

License

Notifications You must be signed in to change notification settings

psidh/Ganges

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌊 Ganges Programming Language

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

⚡ Quick Start

1. Install Ganges

Download the latest binary for your OS:

Visit Download section for complete details : Download Section

Run the repl

gangesMac

VISIT Docs for extensive info : Official Docs

✨ Language Features

Concept Ganges Keyword Description
Variable rama Declare a variable
Function kriya Define a function
If / Else yadi / anyatha Conditional logic
Print vadah Console output
While loop chakra Loop construct
Return daan Return from function
Boolean values satya / asatya true / false

🧠 Examples

Variables & Arithmetic

rama x = 10;
rama y = 20;
vadah(x + y); // 30

Functions

rama greet = kriya(name) {
  vadah("Namaste, " + name);
};
greet("Sita");

Conditionals

rama mood = yadi (5 > 3) {
  "happy"
} anyatha {
  "sad"
};
vadah(mood); // happy

Loops

rama i = 0;
chakra (i < 5) {
  vadah(i);
  i = i + 1;
};

🧪 Try Ganges Online

👉 Playground (Web)


📚 Learn More


🛠 Built With

  • 🐹 Go for the interpreter
  • ❤️ Love for Sanskrit & clean syntax

📌 License

Apache 2.0


🙏 Inspired by

  • Monkey (by Thorsten Ball)
  • Python & JavaScript (for simplicity)
  • Sanskrit (for semantics & elegance)

About

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.

Topics

Resources

License

Stars

Watchers

Forks