Released lineage: Hindawi 15 August 2004. Same deliverable shape as Hindi गुरु/C, श्रेणी/C++, प्राथमिक/BASIC, यांत्रिक/ASM, शब्द/lex, व्याकरण/yacc, रोबोट/Logo.
Gujarati · प्राथमिक · BASIC
Shaili names the host, never the spoken language. Gujarati प्राथमिक is still a BASIC 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
- This document is the standard of Gujarati प्राथमिक / BASIC.
- 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)
142 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 |
|---|---|---|
| તો /**/ | _toa /**/ | ELSE |
| રખો /**/ | rakhoa /**/ | STATIC |
| તક /**/ | _taka /**/ | WEND |
| more details. | more details. | REM |
| બેક્રમ_ક્રિયા | baeekrama_kriyaa | RANDOMIZE |
| અક્રમ_ક્રિયા | _akrama_kriyaa | RANDOMIZE |
| ચિત્ર_લિખો | chi_tra_likhoa | XTEXT |
| ચાબી_દબાયા | chaabee__dabaayaa | INKEY |
| ખાતા_પૂર્ણ | khaa_taa_poor_nna | EOF |
| પૂર્વક્ષય | poorwakxaya | LTRIM |
| સાર્વજનિક | saarwajanika | SHARED |
| પૂર્વાસિત | poorwaasi_ta | EXISTS |
| ખાતા_લિખો | khaa_taa_likhoa | INPUT |
| ખાતા_પઢ઼ો | khaa_taa_padhzoa | INPUT |
| ખાતા_શબ્દ | khaa_taa_shab_da | INPUT |
| પ્રતિપાદક | pra_tipaa_daka | EXP |
| અક્રમાઙ્ક | _akramaa_ngka | RND |
| અક્રમાન્ક | _akramaanka | RND |
| પૂર્ણાન્ક | poor_nnaanka | CINT |
| પૂર્ણાઙ્ક | poor_nnaa_ngka | CINT |
| પૂર્વાદેશ | poorwaa_daeesha | COMMAND |
| \"("\\"" | \"("\\"" | REM |
| અંક_માલા | _a_mka_maalaa | STR |
| અન્તક્ષય | _an_takxaya | RTRIM |
| ષષ્ઠાદશક | xaxthaa_dashaka | HEX |
| ક્રમાન્ત | kramaan_ta | NEXT |
| અક્રમાંક | _akramaa_mka | RND |
| પૂર્ણાંક | poor_nnaa_mka | CINT |
| ટિપ્પણી | tippa_nnee | REM |
| દિનાઙ્ક | _dinaa_ngka | DATE |
| દિનાન્ક | _dinaanka | DATE |
| અંતક્ષય | _a_m_takxaya | RTRIM |
| ચ_દબાયા | cha__dabaayaa | INKEY |
| ક્રમાંત | kramaa_m_ta | NEXT |
| અનુક્રમ | _anukrama | CALL |
| વર્ગમૂલ | wargamoola | SQR |
| સમપૂર્ણ | samapoor_nna | ABS |
| રંગકોષ | ra_mgakoaxa | PALETTE |
| દિનાંક | _dinaa_mka | DATE |
| અન્યથા | _anya_thaa | ELSE |
| દોહરાઓ | _doa_haraa_oa | LOOP |
| ખ_શબ્દ | kha_shab_da | INPUT |
| સમાપ્ત | samaap_ta | END |
| ક્રિયા | kriyaa | FUNCTION |
| બિન્દુ | bin_du | PSET |
| ઔર_બિટ | _oura_bita | & |
| યા_બિટ | yaa_bita | | |
| સ્થાન | s_thaana | LOCATE |
| પૂર્વ | poorwa | LEFT |
| ઇસ્કિ | _iski | ASC |
| આષ્ટક | _aaxtaka | OCT |
| સાર્વ | saarwa | SHARED |
| સ્થિર | s_thira | CONST |
| નત્થી | na_t_thee | APPEND |
| પૂર્ણ | poor_nna | END |
| અવકાશ | _awakaasha | SHELL |
| નિકાસ | nikaasa | EXIT SUB |
| અવરોધ | _awaroa_dha |
C break;
|
| ઘોષણા | ghoaxa_nnaa | DECLARE |
| ચિન્હ | chin_ha | SGN |
| અક્રમ | _akrama | RND |
| પર્દા | par_daa | SCREEN |
| બિંદુ | bi_m_du | PSET |
| લિખો | likhoa | PRINT |
| પૂછો | poochhoa | INPUT |
| ખાલી | khaalee | SPACE |
| અન્ત | _an_ta | RIGHT |
| માલા | maalaa | STRING |
| લિપી | lipee | CHR |
| બડ઼ે | badzaee | UCASE |
| છોટે | chhoataee | LCASE |
| અન્શ | _ansha | INSTR |
| અઙ્શ | _a_ngsha | INSTR |
| ષષ્ઠ | xaxtha | HEX |
| અષ્ટ | _axta | OCT |
| ચાબી | chaabee | INKEY |
| ઘડ઼ી | ghadzee | TIMER |
| સમયક | samayaka | TIMER |
| માનો | maanoa | LET |
| આયામ | _aayaama | DIM |
| ક્રમ | krama | FOR |
| ખોલો | khoaloa | OPEN |
| હેતુ | _haee_tu | FOR |
| લેખન | laeekhana | OUTPUT |
| પન્થ | pan_tha | AS |
| બન્દ | ban_da | CLOSE |
| અગલા | _agalaa | GOTO |
| વાપસ | waapasa | RETURN |
| જારી | jaaree |
C continue;
|
| સાઇન | saa_ina | SIN |
| અટૈન | _ataina | ATN |
| ચિંહ | chi_m_ha | SGN |
| અઙ્ક | _a_ngka | INT |
| અન્ક | _anka | INT |
| રેખા | raeekhaa | LINE |
| ઔર_બ | _oura_ba | & |
| યા_બ | yaa_ba | | |
| નહીં | na_hee_m | NOT |
| અથવા | _a_thawaa | XOR |
| કેવલ | kaeewala | XOR |
| ટિપ | tipa | REM |
| સાફ | saapha | CLS |
| રંગ | ra_mga | COLOR |
| સમય | samaya | TIME |
| બીચ | beecha | MID |
| અંત | _a_m_ta | RIGHT |
| અંશ | _a_msha | INSTR |
| isc | isc | ASC |
| ISC | ISC | ASC |
| માન | maana | VAL |
| માપ | maapa | LEN |
| અગર | _agara | IF |
| ગતિ | ga_ti | STEP |
| કરો | karoa | DO |
| ફિર | phira | LOOP |
| પાઠ | paatha | INPUT |
| પંથ | pa_m_tha | AS |
| બંદ | ba_m_da | CLOSE |
| ખ_પ | kha_pa | EOF |
| ઇતિ | _i_ti | END |
| જાઓ | jaa_oa | GOSUB |
| અણુ | _a_nnu | SUB |
| જડ઼ | jadza | STATIC |
| ઘોષ | ghoaxa | DECLARE |
| લૉગ | lauga | LOG |
| કૉસ | kausa | COS |
| ટૈન | taina | TAN |
| મૂલ | moola | SQR |
| અંક | _a_mka | INT |
| શેષ | shaeexa | MOD |
| વૃત | w_ri_ta | CIRCLE |
| તથા | _ta_thaa | AND |
| */ | */ | REM |
| ઇસ | _isa | ASC |
| હૈ | _hai | THEN |
| હો | _hoa | THEN |
| સે | saee | TO |
| જબ | jaba | WHILE |
| તબ | _taba | WEND |
| સમ | sama | ABS |
| ઔર | _oura | AND |
| યા | yaa | OR |
Demo program
Source file: ../demos/langs/gujarati_praatha.uhin. This is the program, not a souvenir line.
<શૈલી પ્રાથમિક> પૂછો "ऊँचाई: ", ન લિખો ન ક્રમ ક = ૧ સે ન ક્રમ ખ = ૧ સે (ન - ક) લિખો " "; ક્રમાંત ખ ક્રમ ગ = ૧ સે ક લિખો "&"; ક્રમાંત ગ લિખો "" ક્રમાંત ક ક્રમ ક = (ન - ૧) સે ૧ ગતિ -૧ ક્રમ ખ = ૧ સે (ન - ક) લિખો " "; ક્રમાંત ખ ક્રમ ગ = ૧ સે ક લિખો "&"; ક્રમાંત ગ લિખો "" ક્રમાંત ક ઇતિ
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 BASIC. The shaili pragma is removed. It is not a host token.
Host after compile
Shaili pragma stripped from host. Host is BASIC.
INPUT "ऊँचाई: ", न PRINT न FOR क = १ TO न FOR ख = १ TO (न - क) PRINT " "; NEXT ख FOR ग = १ TO क PRINT "&"; NEXT ग PRINT "" NEXT क FOR क = (न - १) TO १ STEP -१ FOR ख = १ TO (न - क) PRINT " "; NEXT ख FOR ग = १ TO क PRINT "&"; NEXT ग PRINT "" NEXT क END
Romenagri of this demo (ASCII-7 kernel)
poochhoa "ऊँचाई: ", na likhoa na krama ka = १ saee na krama kha = १ saee (na - ka) likhoa " "; kramaa_m_ta kha krama ga = १ saee ka likhoa "&"; kramaa_m_ta ga likhoa "" kramaa_m_ta ka krama ka = (na - १) saee १ ga_ti -१ krama kha = १ saee (na - ka) likhoa " "; kramaa_m_ta kha krama ga = १ saee ka likhoa "&"; kramaa_m_ta ga likhoa "" kramaa_m_ta ka _i_ti
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 Gujarati BASIC.
Original Colab chrome: nb.frozen.html. Retrieved 2004 tree: retrieved/legacy/Hindawi. Romenagri sources: retrieved/legacy/Romenagri.