Skip to content

Syntax Reference — نحو کا حوالہ

Complete documentation for every language construct in the Urdu Programming Language. Each page covers syntax, rules, and examples — all bilingual (English + Urdu).

اردو: اردو پروگرامنگ زبان کی ہر لسانی ساخت کی مکمل دستاویزات۔ ہر صفحہ نحو، اصول اور مثالیں — دو زبانوں میں (انگریزی + اردو)۔


Contents — مضامین

Page Topics
01 — Variables متغیر, مستقل, چھوٹا, destructuring, defaults, naming rules
02 — Data Types Numbers, strings, booleans, null, arrays, objects, type conversions
03 — Operators Arithmetic, comparison, logical, assignment, bitwise, ternary
04 — Strings String literals, template strings, methods, Urdu text handling
05 — Control Flow اگر/ورنہ_اگر/ورنہ, جبکہ, کرو...جبکہ, کے_لیے, ٹوٹنا, جاری, منتخب
06 — Functions فنکشن, parameters, defaults, rest params, arrow functions, closures, recursion
07 — Classes & OOP کلاس, تعمیر, یہ, نیا, inheritance (توسیع), سپر, static, getters/setters
08 — Async / Await غیر_متزامن, انتظار, وعدہ, تاخیر, concurrent operations, generators
09 — Error Handling کوشش/پکڑو/آخر, پھینکو, custom error classes, async errors
10 — Modules & Imports درآمد/سے/بطور/برآمد, built-in modules, dynamic imports

Quick Keyword Reference — کلیدی الفاظ کا فوری حوالہ

Urdu English Category
متغیر let/var Variables
مستقل const Variables
اگر if Control flow
ورنہ else Control flow
ورنہ_اگر else if Control flow
جبکہ while Loops
کرو do Loops
کے_لیے for Loops
کا of For-of loop
میں in For-in loop
ٹوٹنا break Loop control
جاری continue Loop control
منتخب switch Switch/case
صورت case Switch/case
فنکشن function Functions
واپس return Functions
پیداوار yield Generators
کلاس class OOP
تعمیر constructor OOP
یہ this OOP
نیا new OOP
توسیع extends OOP
سپر super OOP
جامد static OOP
غیر_متزامن async Async
انتظار await Async
کوشش try Errors
پکڑو catch Errors
آخر finally Errors
پھینکو throw Errors
درآمد import Modules
برآمد export Modules
سے from Modules
بطور as Modules
سچ true Values
جھوٹ false Values
خالی null/None Values

For the complete keyword list with descriptions, see Reference → Keywords.