Released lineage: Hindawi 15 August 2004. Same deliverable shape as Hindi गुरु/C, श्रेणी/C++, प्राथमिक/BASIC, यांत्रिक/ASM, शब्द/lex, व्याकरण/yacc, रोबोट/Logo.
Urdu · गुरु · C
Shaili names the host, never the spoken language. Urdu गुरु is still a C program.
Perso-Arabic does not round-trip. Lowest-layer debug (gdb, nm) will not reconstruct the original letters. Named, not hidden.
Open in notebook Original notebook Workbench Keyword stack Romenagri lab
This language, other hosts: C · C++ · BASIC · Assembly · lex · yacc · Logo
1–10 · clauses
- یہ دستاویز Urdu गुरु / C کا معیار ہے۔
- یہ دستاویز انگریزی آئی ایس او متن کا ترجمہ نہیں ہے۔
- اس فائل کی کلیدی جدول مستند ہے۔
- تالیف کا راستہ ہے: یونیکوڈ، پھر اے سی آئی آئی، پھر رومنگری (اصل الخوارزم)، پھر شائلی لیکس، پھر میزبان۔
- اس معیار میں لکھا ہوا پروگرام اسی شائلی کے کسی اور شائع شدہ معیار میں دیکھا جا سکتا ہے۔
- دیکھنا تالیف کی شناخت نہیں بدلتا۔
- شناخت کنندگان لغت کے ذریعے دکھائے جاتے ہیں۔ تالیف اصل شناخت کنندگان لیتی ہے۔
- کلیدی جدول کے خلا درج ہیں۔ وہ حافظے سے نہیں بھرے گئے۔
- بولی کی فائلیں آواز، لفظ انتخاب، یا نحوی قطاریں شامل کر سکتی ہیں۔ قبولیت سے پہلے وہ اس جدول کی جگہ نہیں لیتیں۔
- تصحیح deposits/csv اور deposits/standards میں سی ایس وی کی صورت میں بھیجیں۔
- This document is the standard of Urdu गुरु / C.
- This document is not a translation of an English-language ISO text.
- The keyword table in this file is normative.
- The compile path is Unicode, then ACII, then Romenagri (original algorithm), then the shaili lex, then the host.
- A program written to this standard may be viewed in any other published standard of the same shaili.
- Viewing does not change compilation identity.
- Identifiers are presented through a dictionary. Compilation uses the original identifiers.
- Gaps in the keyword table are listed. They are not filled from memory.
- Dialect files may add phonetic, word-choice, or syntax rows. They do not replace this table until accepted.
- Corrections are submitted as CSV in deposits/csv and deposits/standards.
Keyword table (normative)
29 rows. Hindi C bar is 29 unique-C keys. Other hosts use the 2004 retrieved lex where it exists. Romenagri is the original Unicode → ACII → Romenagri algorithm, not ISO 15919.
| native | Romenagri | host |
|---|---|---|
| اگر | agara | if |
| ورنہ | varnah | else |
| جبتک | jabataka | while |
| کرو | karau | do |
| برائے | baraae | for |
| توڑو | taudau | break |
| جاری | jaarii | continue |
| انتخاب | inatikhaaba | switch |
| حالت | haalata | case |
| طےشدہ | taeshudah | default |
| واپس | vaapasa | return |
| ثابت | saabita | const |
| صحیح | sahiiha | int |
| اعشاری | aeshaarii | float |
| دوہرا | dauharaa | double |
| حرف | harfa | char |
| خالی | khaalii | void |
| تابع | taabe | void |
| جماعت | jamaaata | class |
| نیا | nayaa | new |
| عوامی | avaamii | public |
| نجی | nijii | private |
| ساکن | saakina | static |
| مجازی | majaazii | virtual |
| جب | jaba | case |
| ساخت | saakhta | struct |
| شامل | shaamila | include |
| پڑھو | pa_rhau | scanf |
| لکھو | likhau | printf |
Demo program
Source file: ../demos/langs/urdu_guru.uhin. This is the program, not a souvenir line.
<ش◌َـےلـی گـورـو> #شاملصحیح main() { حرف a[80]; صحیح k; لکھو("آپ کا نام کیا ہے؟\n"); پڑھو("%s", a); لکھو("السلام علیکم %s.\n", a); برائے(k=1; k<=10; k++) لکھو("%d\n", k); واپس 0; }
Compile path
- Unicode source (this page).
- Flatten to the Devanagari hub (Brahmi). Perso-Arabic applies the language table first, then urdu_map, and is lossy.
- Original Romenagri: Unicode → ACII (
unicode_hin) → Romenagri (acii_chrt/ retrievedlegacy/Romenagri/acii2rmn.lex). Binding:engine/romenagri-orig.js+canonical_basis.json. - Shaili lex on that ASCII-7 kernel.
- Host C. The shaili pragma is removed. It is not a host token.
Host after compile
Shaili pragma stripped from host. Host is C.
#includeint main() { char a[80]; int k; printf("آپ کا نام کیا ہے؟\n"); scanf("%s", a); printf("السلام علیکم %s.\n", a); for(k=1; k<=10; k++) printf("%d\n", k); return 0; }
Romenagri of this demo (ASCII-7 kernel)
#includeint main() { char a[80]; int k; printf("آپ کا نام کیا ہے؟\n"); scanf("%s", a); printf("السلام علیکم %s.\n", a); for(k=1; k<=10; k++) printf("%d\n", k); return 0; }
The seven hosts on every language
C · C++ · BASIC · Assembly · lex · yacc · Logo
Hindi 2004 bar
A complete stack is the Hindi 15 August 2004 deliverable: a shaili, a keyword table, a program that compiles, a host with the pragma gone, and the original Romenagri path. This page is that shape for Urdu C.
Original Colab chrome: nb.frozen.html. Retrieved 2004 tree: retrieved/legacy/Hindawi. Romenagri sources: retrieved/legacy/Romenagri.