پہلی مکمل اردو پروگرامنگ زبان — اردو میں کوڈ لکھیں، دنیا کی کوئی بھی ایپلیکیشن بنائیں۔
The world's first fully-featured programming language written entirely in Urdu.
Write code, build web servers, train ML models, manage databases — all in اردو.
The Urdu Programming Language lets you write real, working software using Urdu script keywords. It is not a toy or a demo — it compiles to Python and supports:
- Object-oriented programming with Urdu class syntax
- Async / await concurrency
- FastAPI and Flask web servers
- MySQL, PostgreSQL, MongoDB, Firebase, SQLite
- Machine learning (scikit-learn, TensorFlow, NumPy, Pandas)
- File I/O, ZIP, Excel, PDF
- Cryptography (AES, RSA, HMAC, PBKDF2)
- Web scraping (BeautifulSoup)
- Threading and multiprocessing
- A full interactive REPL
لکھو("السلام علیکم، دنیا!")
السلام علیکم، دنیا!
Variables and input:
متغیر نام = پڑھو("آپ کا نام: ")
لکھو(`خوش آمدید، ${نام}!`)
Conditions and loops:
کے_لیے (متغیر i کا حد(1, 6)) {
اگر (i % 2 == 0) {
لکھو(i, "جفت ہے")
} ورنہ {
لکھو(i, "طاق ہے")
}
}
Functions:
فنکشن مربع(عدد) {
واپس عدد ** 2
}
لکھو(مربع(7)) // 49
Classes:
کلاس طالب_علم {
تعمیر(نام, نمبر) {
یہ.نام = نام
یہ.نمبر = نمبر
}
گریڈ() {
اگر (یہ.نمبر >= 90) { واپس "A" }
اگر (یہ.نمبر >= 75) { واپس "B" }
واپس "C"
}
}
متغیر ط = نیا طالب_علم("احمد", 92)
لکھو(`${ط.نام} کا گریڈ: ${ط.گریڈ()}`)
Web server (FastAPI):
درآمد { فاسٹ_اے_پی_آئی, جیسن_جواب } سے "اردو/ویب"
متغیر ایپ = نیا فاسٹ_اے_پی_آئی({ عنوان: "میری API" })
@ایپ.حاصل("/")
فنکشن جڑ() {
واپس نیا جیسن_جواب({ "پیغام": "السلام علیکم!" })
}
ایپ.چلائیں({ پورٹ: 8000 })
Download the latest release from the Releases page:
- Download
urdu-v1.0.0-windows.zip - Extract to any folder (e.g.
C:\urdu\) - Add that folder to your system PATH
- Open a terminal and run:
urdu version
urdu run hello.urdu
Requires Python 3.9 or later.
pip install urdu-lang
Then run:
urdu run hello.urdu
urdu repl
git clone https://github.com/zahid-wadiwale/urdu-lang.git
cd urdu-lang
pip install -r requirements.txt
python -m urdu run hello.urdu
| Command | Description |
|---|---|
urdu run file.urdu |
Run an Urdu source file |
urdu compile file.urdu |
Transpile to Python |
urdu repl |
Start interactive REPL |
urdu check file.urdu |
Check syntax without running |
urdu version |
Show version info |
urdu مدد |
Urdu help system |
urdu نصب <package> |
Install a pip package |
| Urdu | English | Purpose |
|---|---|---|
متغیر |
let |
Declare variable |
مستقل |
const |
Declare constant |
فنکشن |
function |
Define function |
کلاس |
class |
Define class |
اگر |
if |
Condition |
ورنہ |
else |
Else branch |
جبکہ |
while |
While loop |
کے_لیے |
for |
For loop |
واپس |
return |
Return value |
درآمد |
import |
Import module |
برآمد |
export |
Export symbol |
کوشش |
try |
Try block |
پکڑو |
catch |
Catch error |
پھینکو |
throw |
Throw error |
غیر_متزامن |
async |
Async function |
انتظار |
await |
Await promise |
نیا |
new |
Create instance |
یہ |
this |
Current object |
سچ |
true |
Boolean true |
جھوٹ |
false |
Boolean false |
خالی |
null |
Null value |
لکھو() |
print() |
Print to console |
پڑھو() |
input() |
Read user input |
| Import | Provides |
|---|---|
اردو/ویب |
FastAPI, Flask, WebSocket, Socket.IO, HTTP client |
اردو/ڈیٹا_بیس |
MySQL, PostgreSQL, MongoDB, Firebase, Cassandra, SQLite |
اردو/فائلیں |
Text, CSV, JSON, ZIP, Excel, PDF |
اردو/رمز |
AES, RSA, HMAC, SHA, PBKDF2, Fernet |
اردو/ذہین |
Pandas, NumPy, scikit-learn, TensorFlow |
اردو/کھرچنی |
BeautifulSoup web scraper |
اردو/لاگ |
Structured logging |
اردو/دھاگہ |
Threading, multiprocessing, async tasks |
اردو/تاریخ |
Date, time, timezone, formatting |
اردو/کرل |
HTTP client (aiohttp) |
Full documentation is in the docs/ folder:
- Quick Start
- Syntax Reference
- Built-in Functions
- Library Reference
- Examples
- Installation Guide
- Building from Source
- Contributing
Requires Python 3.11 and Nuitka:
pip install nuitka
python build.py
Output: dist/__main__.dist/urdu.exe
See docs/building.md for full instructions.
Contributions are welcome! Please read CONTRIBUTING and the LICENSE before submitting a pull request.
All contributions must credit Mohammed Zahid Wadiwale as the original author of this language.
Programs you write in the Urdu Programming Language are entirely your own — no attribution required, no restrictions.
The language itself (this repository's source code) is covered by the Urdu Programming Language License. Derivative works of the language must credit the original author.
Original Author: Mohammed Zahid Wadiwale
Contact: zahid.wadiwale1234@gmail.com
تخلیق کار: محمد زاہد وڈیوالے
یہ پروجیکٹ اردو بولنے والوں کو پروگرامنگ کے قابل بنانے کے لیے بنایا گیا ہے۔