Released lineage: Hindawi 15 August 2004. Same deliverable shape as Hindi गुरु/C, श्रेणी/C++, प्राथमिक/BASIC, यांत्रिक/ASM, शब्द/lex, व्याकरण/yacc, रोबोट/Logo.

Hindi · गुरु · C

Shaili names the host, never the spoken language. Hindi गुरु is still a C program.

Open in notebook Original notebook Workbench Keyword stack Romenagri lab

This language, other hosts: C · C++ · BASIC · Assembly · lex · yacc · Logo

1–10 · clauses

  1. यह दस्तावेज़ Hindi गुरु / C का मानक है।
  2. यह दस्तावेज़ अंग्रेज़ी ISO पाठ का अनुवाद नहीं है।
  3. इस फ़ाइल की कुंजी-सारणी आधिकारिक है।
  4. संकलन पथ है: यूनिकोड, फिर ACII, फिर रोमननागरी (मूल कलन), फिर शैली लेक्स, फिर मेज़बान।
  5. इस मानक में लिखा कार्यक्रम उसी शैली के किसी अन्य प्रकाशित मानक में देखा जा सकता है।
  6. देखना संकलन की पहचान नहीं बदलता।
  7. नामकोश के द्वारा पहचानकर्ता दिखते हैं। संकलन मूल पहचानकर्ता लेता है।
  8. कुंजी-सारणी के अंतर सूचीबद्ध हैं। स्मृति से नहीं भरे गए।
  9. बोली फ़ाइलें ध्वनि, शब्द-चयन, या वाक्य-रचना पंक्तियाँ जोड़ सकती हैं। स्वीकृति से पहले वे इस सारणी की जगह नहीं लेतीं।
  10. सुधार deposits/csv और deposits/standards में CSV के रूप में भेजें।
  1. This document is the standard of Hindi गुरु / C.
  2. This document is not a translation of an English-language ISO text.
  3. The keyword table in this file is normative.
  4. The compile path is Unicode, then ACII, then Romenagri (original algorithm), then the shaili lex, then the host.
  5. A program written to this standard may be viewed in any other published standard of the same shaili.
  6. Viewing does not change compilation identity.
  7. Identifiers are presented through a dictionary. Compilation uses the original identifiers.
  8. Gaps in the keyword table are listed. They are not filled from memory.
  9. Dialect files may add phonetic, word-choice, or syntax rows. They do not replace this table until accepted.
  10. 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.

nativeRomenagrihost
यदिyadiif
अन्यथाanyathaaelse
जबतकjabatakawhile
करोkaraudo
हेतुheetufor
विरामviraamabreak
जारीjaariicontinue
चयनcayanaswitch
स्थितिsthiticase
मूलmuuladefault
लौटाओlautaaaureturn
अचरacaraconst
पूर्णांकpuur_naa_nkaint
दशमलवdashamalavafloat
द्विगुणdviguu_nadouble
अक्षरak_sarachar
शून्यshuunyavoid
कृत्यkr_tyavoid
वर्गvargaclass
नवीनnaviinanew
सार्वजनिकsaarvajanikapublic
निजीnijiiprivate
स्थिरsthirastatic
आभासीaabhaasiivirtual
जबjabacase
संरचनाsa_nracanaastruct
सम्मिलितsammilitainclude
पढ़ोpa_dauscanf
लिखोlikhauprintf

Demo program

Source file: ../demos/langs/hindi_guru.uhin. This is the program, not a souvenir line.

<शैली गुरु>
#समावेश <मानकपन.स>

पूर्णांक मुख्य()
{
	अक्षर अ[८०];
	पूर्णांक क;
	म_लिखो("आपका नाम क्या है?\n");
	म_पूछो("%s",अ);
	म_लिखो("नमस्ते %s.\n",अ);
	क्रम(क=1; क<=10; क++)
		म_लिखो("%d\n",क);
	म_पूछो("%s",अ);
	वापस 0;
}

Compile path

  1. Unicode source (this page).
  2. Flatten to the Devanagari hub (Brahmi). Perso-Arabic applies the language table first, then urdu_map, and is lossy.
  3. Original Romenagri: Unicode → ACII (unicode_hin) → Romenagri (acii_chrt / retrieved legacy/Romenagri/acii2rmn.lex). Binding: engine/romenagri-orig.js + canonical_basis.json.
  4. Shaili lex on that ASCII-7 kernel.
  5. Host C. The shaili pragma is removed. It is not a host token.

Host after compile

Shaili pragma stripped from host. Host is C.

#include 

int main()
{
	char _a[८०];
	int ka;
	printf("आपका नाम क्या है?\n");
	scanf("%s",_a);
	printf("नमस्ते %s.\n",_a);
	for(ka=1; ka<=10; ka++)
		printf("%d\n",ka);
	scanf("%s",_a);
	return 0;
}

Romenagri of this demo (ASCII-7 kernel)

#samaawaeesha 

poor_nnaa_mka mukhya()
{
	_akxara _a[८०];
	poor_nnaa_mka ka;
	ma_likhoa("आपका नाम क्या है?\n");
	ma_poochhoa("%s",_a);
	ma_likhoa("नमस्ते %s.\n",_a);
	krama(ka=1; ka<=10; ka++)
		ma_likhoa("%d\n",ka);
	ma_poochhoa("%s",_a);
	waapasa 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 Hindi C.

Original Colab chrome: nb.frozen.html. Retrieved 2004 tree: retrieved/legacy/Hindawi. Romenagri sources: retrieved/legacy/Romenagri.