Released lineage: Hindawi 15 August 2004. Same deliverable shape as Hindi गुरु/C, श्रेणी/C++, प्राथमिक/BASIC, यांत्रिक/ASM, शब्द/lex, व्याकरण/yacc, रोबोट/Logo.
Hindi · शब्द · lex
Shaili names the host, never the spoken language. Hindi शब्द is still a lex 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
- यह दस्तावेज़ Hindi शब्द / lex का मानक है।
- यह दस्तावेज़ अंग्रेज़ी ISO पाठ का अनुवाद नहीं है।
- इस फ़ाइल की कुंजी-सारणी आधिकारिक है।
- संकलन पथ है: यूनिकोड, फिर ACII, फिर रोमननागरी (मूल कलन), फिर शैली लेक्स, फिर मेज़बान।
- इस मानक में लिखा कार्यक्रम उसी शैली के किसी अन्य प्रकाशित मानक में देखा जा सकता है।
- देखना संकलन की पहचान नहीं बदलता।
- नामकोश के द्वारा पहचानकर्ता दिखते हैं। संकलन मूल पहचानकर्ता लेता है।
- कुंजी-सारणी के अंतर सूचीबद्ध हैं। स्मृति से नहीं भरे गए।
- बोली फ़ाइलें ध्वनि, शब्द-चयन, या वाक्य-रचना पंक्तियाँ जोड़ सकती हैं। स्वीकृति से पहले वे इस सारणी की जगह नहीं लेतीं।
- सुधार deposits/csv और deposits/standards में CSV के रूप में भेजें।
- This document is the standard of Hindi शब्द / lex.
- 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)
8 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 |
|---|---|---|
| more details. | more details. | yylex |
| \'("\\'" | \'("\\'" | yylex |
| \"("\\"" | \"("\\"" | yylex |
| श_पंक्ति | sha_pa_mk_ti | yylineno |
| श_ब_मान | sha_ba_maana | yylval |
| श_शब्द | sha_shab_da | yylex |
| श_माला | sha_maalaa | yytext |
| */ | */ | yylex |
Demo program
Source file: ../demos/langs/hindi_shabda.uhin. This is the program, not a souvenir line.
<शैली शब्द>
%{
%}
%%
"अ"a+"अ" {म_लिखो("ओ");}
ab+a {म_लिखो("ab*a");}
%%
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 lex. The shaili pragma is removed. It is not a host token.
Host after compile
Shaili pragma stripped from host. Host is lex.
%{
%}
%%
"अ"a+"अ" {ma_likhoa("ओ");}
ab+a {ma_likhoa("ab*a");}
%%
Romenagri of this demo (ASCII-7 kernel)
%{
%}
%%
"अ"a+"अ" {ma_likhoa("ओ");}
ab+a {ma_likhoa("ab*a");}
%%
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 lex.
Original Colab chrome: nb.frozen.html. Retrieved 2004 tree: retrieved/legacy/Hindawi. Romenagri sources: retrieved/legacy/Romenagri.