Sathi Language — a Nepali-inspired programming language blending creativity, culture, and code.
Project description
🪷 Sathi Language — Nepali-Inspired Programming Language 🇳🇵
Sathi Language is a Nepali-inspired programming language that blends creativity, culture, and code — written in Python and designed to make programming feel natural, human, and expressive.
🚀 Installation
Install Sathi Language from PyPI:
pip install sathi-lang
To check if it’s installed correctly:
sathi --help
🧠 Quick Example
Create a file called hello.sathi:
sathi yo ho naam = "Sathi"
sathi bhana naya "Namaste, " + naam
sathi dohoryau 3 choti
sathi bhana sangai "Hello "
sathi bhana naya "World!"
sathi sakkyo
Then run it:
sathi hello.sathi
Output:
Namaste, Sathi
Hello World!
Hello World!
Hello World!
✨ Core Syntax
| Purpose | Syntax | Description |
|---|---|---|
| Declare variable | sathi yo ho x = 10 |
Assigns a value |
sathi bhana "text" |
Prints text | |
| Print (newline) | sathi bhana naya "text" |
Prints with newline |
| Print (inline) | sathi bhana sangai "text" |
Prints on same line |
| Condition | sathi bhane x > 5 / sathi natra |
If / else |
| Loop | sathi dohoryau 3 choti |
Repeat 3 times |
| Function | sathi kam gar greet(name) |
Define a function |
| Return | sathi farki x + y |
Return a value |
| End block | sathi sakkyo |
Close if, loop, or function |
| Math | joda(a,b), ghatau(a,b), guna(a,b), bhaag(a,b) |
add/subtract/multiply/divide |
| Wait | sathi parkha 2 |
Wait 2 seconds |
| Comment | # comment |
Inline comments |
🧮 Example with Function
sathi kam gar add(a,b)
sathi farki joda(a,b)
sathi sakkyo
sathi yo ho result = sathi gara add(5,10)
sathi bhana "Sum: " + str(result)
Output:
Sum: 15
🪄 About Sathi
“Sathi” (साथी) means friend in Nepali — this language is built to make coding feel friendly and approachable, like having a companion that speaks your language.
- Built with ❤️ by Nirajan Ghimire
- Website: https://www.nirajang.com.np/sathi
- GitHub: https://github.com/nirajang20/Sathi-Language
- LinkedIn: https://www.linkedin.com/in/nirajang/
📦 Version History
| Version | Highlights |
|---|---|
| 1.0.0 | Initial release |
| 1.1.0 | Minor syntax cleanup |
| 1.2.1 (Current) | New syntax keywords (naya, sangai, dohoryau, sakkyo, farki), updated interpreter, and improved expression support |
🧩 License
MIT License
© 2025 Nirajan Ghimire
“Code with culture — build with Sathi.” 🌸
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sathi_lang-1.2.1.tar.gz.
File metadata
- Download URL: sathi_lang-1.2.1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98efcd8ce994bca391c6d10450acd1976b49a73ef74019b4e3b32cd6143620fb
|
|
| MD5 |
bbe3f7ea16b2676c18660d0471f9a25e
|
|
| BLAKE2b-256 |
96aadcf251ba89eb332f9f4714e632fa59d7dd03c636518174687348059ea583
|
File details
Details for the file sathi_lang-1.2.1-py3-none-any.whl.
File metadata
- Download URL: sathi_lang-1.2.1-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c8e9848a45f71f24aa7683fa2a136ea7af4d1cfe3a4ff4df6b2d2117395a696
|
|
| MD5 |
41887ea882e32da78386eb1867d9cec2
|
|
| BLAKE2b-256 |
203d81e512a704be73486b3771d5d52d4a7362358cb17cf458c2dcf8528f160e
|