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

Pashto · शब्द · lex

Shaili names the host, never the spoken language. Pashto शब्द is still a lex 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

  1. دا سند د Pashto शब्द / lex معیار دی.
  2. دا سند د انګلیسي ISO متن ژباړه نه ده.
  3. په دې دوتنه کې د کلیمو جدول معیاري دی.
  4. د ژباړې لار: یونیکوډ، بیا ACII، بیا رومنگري (اصلي الګورېتم)، بیا شایلي لکس، بیا کوربه.
  5. په دې معیار لیکل شوی پروګرام په همدې شایلي بل خپور شوي معیار کې لیدل کېدای شي.
  6. لیدل د ژباړې پېژندنه نه بدلوي.
  7. پېژندونکي د قاموس له لارې ښودل کېږي. ژباړه اصلي پېژندونکي اخلي.
  8. د جدول تشې لیست شوې دي. له حافظې نه دي ډېرې شوې.
  9. د ګړنې دوتنې غږیز، ټکیز یا نحوي کرښې زیاتولی شي. تر منلو دمخه دا جدول نه بدلوي.
  10. سمونې په CSV بڼه deposits/csv او deposits/standards ته واستوئ.
  1. This document is the standard of Pashto शब्द / lex.
  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)

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.

nativeRomenagrihost
more details.more details.yylex
\'("\\'"\'("\\'"yylex
\"("\\""\"("\\""yylex
ش_پںک्تـیsha_pa_mk_tiyylineno
ش_ب_مانsha_ba_maanayylval
ش_شب्دsha_shab_dayylex
ش_مالاsha_maalaayytext
*/*/yylex

Demo program

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

<ش◌َـےلـی شب्د>
%{
%}
%%
"अ"a+"अ"	{م_لـیکھـو("ओ");}
ab+a	{م_لـیکھـو("ab*a");}
%%

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 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_layakhau("ओ");}
ab+a	{ma_layakhau("ab*a");}
%%

Romenagri of this demo (ASCII-7 kernel)

%{
%}
%%
"अ"a+"अ"	{ma_layakhau("ओ");}
ab+a	{ma_layakhau("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 Pashto lex.

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