Released lineage: Hindawi 15 August 2004. Same deliverable shape as Hindi गुरु/C, श्रेणी/C++, प्राथमिक/BASIC, यांत्रिक/ASM, शब्द/lex, व्याकरण/yacc, रोबोट/Logo.
Assamese · व्याकरण · yacc
Shaili names the host, never the spoken language. Assamese व्याकरण is still a yacc program.
Assamese shares the Bengali reverse-flatten table. Named.
Open in notebook Original notebook Workbench Keyword stack Romenagri lab
This language, other hosts: C · C++ · BASIC · Assembly · lex · yacc · Logo
1–10 · clauses
- This document is the standard of Assamese व्याकरण / yacc.
- 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)
10 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 |
| ব্যাক_ত্ৰ︎ুটি | wyaaka__truti | yyerror |
| \'("\\'" | \'("\\'" | yylex |
| \"("\\"" | \"("\\"" | yylex |
| শ_পংক্তি | sha_pa_mk_ti | yylineno |
| শ_ব_মান | sha_ba_maana | yylval |
| শ_শব্দ | sha_shab_da | yylex |
| শ_মালা | sha_maalaa | yytext |
| ব্যাক | wyaaka | yyparse |
| */ | */ | yylex |
Demo program
Source file: ../demos/langs/assamese_wyaaka.uhin. This is the program, not a souvenir line.
<শৈলী ব্যাক>
%অণু
#সমাবেশ <প্ৰ︎কাৰ︎.স>
#সমাবেশ <মানকপন.স>
#ঘোষণা ব্যাক_ঢেৰ︎_প্ৰ︎কাৰ︎ দ্বিগুন
%পূৰ︎্ণ
%মোহৰ︎ অংক
%বাঁএ '+' '-'
%বাঁএ '*' '/'
%বাঁএ '%'
%দাঁএ ঘটা
%%
পংক্তি : পংক্তি উক্তি '\n' { ম_লিখো("%g \n", $2); }
| পংক্তি '\n'
| /* ঐপসিলন */
;
উক্তি : উক্তি '+' উক্তি { $$ = $1 + $3; }
| উক্তি '-' উক্তি { $$ = $1 - $3; }
| উক্তি '*' উক্তি { $$ = $1 * $3; }
| উক্তি '/' উক্তি { $$ = $1 / $3; }
| উক্তি '%' উক্তি { $$ = (int)$1 % (int)$3; }
| '(' উক্তি ')' { $$ = $2; }
| '-' উক্তি %প্ৰ︎াথমিকতা ঘটা { $$ = - $2; }
| অংক
;
%%
পূৰ︎্ণাংক শ_শব্দ()
অণু
পূৰ︎্ণাংক চ;
জবতক ( ( চ=অক্ষৰ︎_লো() ) == ' ' );
অগৰ︎ ( (চ == '.') || (হৈ_অংক(চ)) )
অণু
অক্ষৰ︎_বাপস(চ, মানক_নিবেশ);
ম_পূছো("%lf", &শ_ব_মান);
বাপস অংক;
পূৰ︎্ণ
বাপস চ;
পূৰ︎্ণ
পূৰ︎্ণাংক ব্যাক_ত্ৰ︎ুটি()
অণু
বাপস 0;
পূৰ︎্ণ
পূৰ︎্ণাংক মুখ্য(পূৰ︎্ণাংক তস, অক্ষৰ︎ *তব[] )
অণু
ম_লিখো("हिंदवी कैल्क्यूलेटर\n");
ম_লিখো("Copyright (C) 2003-2023 Abhishek Choudhary\n");
ম_লিখো("GNU GPL V2 license. NO WARRANTY.\n");
ম_লিখো("आप 0 से 9, +, -, *, / और () का प्रयोग कर सकते हैं।\n");
ব্যাক();
বাপস 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 yacc. The shaili pragma is removed. It is not a host token.
Host after compile
Shaili pragma stripped from host. Host is yacc.
%_a_nnu #samaabaeesha#samaabaeesha #ghoaxa_nnaa byaaka_dhaeera_prakaara _dbiguna %poor_nna %moa_hara _a_mka %baa_na_aee '+' '-' %baa_na_aee '*' '/' %baa_na_aee '%' %_daa_na_aee ghataa %% pa_mk_ti : pa_mk_ti _uk_ti '\n' { ma_likhoa("%g \n", $2); } | pa_mk_ti '\n' | /* _aipasilana yylex ; _uk_ti : _uk_ti '+' _uk_ti { $$ = $1 + $3; } | _uk_ti '-' _uk_ti { $$ = $1 - $3; } | _uk_ti '*' _uk_ti { $$ = $1 * $3; } | _uk_ti '/' _uk_ti { $$ = $1 / $3; } | _uk_ti '%' _uk_ti { $$ = (int)$1 % (int)$3; } | '(' _uk_ti ')' { $$ = $2; } | '-' _uk_ti %praa_thamika_taa ghataa { $$ = - $2; } | _a_mka ; %% poor_nnaa_mka yylex() _a_nnu poor_nnaa_mka cha; jaba_taka ( ( cha=_akxara_loa() ) == ' ' ); _agara ( (cha == '.') || (_hai__a_mka(cha)) ) _a_nnu _akxara_baapasa(cha, maanaka_nibaeesha); ma_poochhoa("%lf", &yylval); baapasa _a_mka; poor_nna baapasa cha; poor_nna poor_nnaa_mka byaaka__truti() _a_nnu baapasa 0; poor_nna poor_nnaa_mka mukhya(poor_nnaa_mka _tasa, _akxara *_taba[] ) _a_nnu ma_likhoa("हिंदवी कैल्क्यूलेटर\n"); ma_likhoa("Copyright (C) 2003-2023 Abhishek Choudhary\n"); ma_likhoa("GNU GPL V2 license. NO WARRANTY.\n"); ma_likhoa("आप 0 से 9, +, -, *, / और () का प्रयोग कर सकते हैं।\n"); byaaka(); baapasa 0; poor_nna
Romenagri of this demo (ASCII-7 kernel)
%_a_nnu #samaabaeesha#samaabaeesha #ghoaxa_nnaa byaaka_dhaeera_prakaara _dbiguna %poor_nna %moa_hara _a_mka %baa_na_aee '+' '-' %baa_na_aee '*' '/' %baa_na_aee '%' %_daa_na_aee ghataa %% pa_mk_ti : pa_mk_ti _uk_ti '\n' { ma_likhoa("%g \n", $2); } | pa_mk_ti '\n' | /* _aipasilana */ ; _uk_ti : _uk_ti '+' _uk_ti { $$ = $1 + $3; } | _uk_ti '-' _uk_ti { $$ = $1 - $3; } | _uk_ti '*' _uk_ti { $$ = $1 * $3; } | _uk_ti '/' _uk_ti { $$ = $1 / $3; } | _uk_ti '%' _uk_ti { $$ = (int)$1 % (int)$3; } | '(' _uk_ti ')' { $$ = $2; } | '-' _uk_ti %praa_thamika_taa ghataa { $$ = - $2; } | _a_mka ; %% poor_nnaa_mka sha_shab_da() _a_nnu poor_nnaa_mka cha; jaba_taka ( ( cha=_akxara_loa() ) == ' ' ); _agara ( (cha == '.') || (_hai__a_mka(cha)) ) _a_nnu _akxara_baapasa(cha, maanaka_nibaeesha); ma_poochhoa("%lf", &sha_ba_maana); baapasa _a_mka; poor_nna baapasa cha; poor_nna poor_nnaa_mka byaaka__truti() _a_nnu baapasa 0; poor_nna poor_nnaa_mka mukhya(poor_nnaa_mka _tasa, _akxara *_taba[] ) _a_nnu ma_likhoa("हिंदवी कैल्क्यूलेटर\n"); ma_likhoa("Copyright (C) 2003-2023 Abhishek Choudhary\n"); ma_likhoa("GNU GPL V2 license. NO WARRANTY.\n"); ma_likhoa("आप 0 से 9, +, -, *, / और () का प्रयोग कर सकते हैं।\n"); byaaka(); baapasa 0; poor_nna
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 Assamese yacc.
Original Colab chrome: nb.frozen.html. Retrieved 2004 tree: retrieved/legacy/Hindawi. Romenagri sources: retrieved/legacy/Romenagri.