Released lineage: Hindawi 15 August 2004. Same deliverable shape as Hindi गुरु/C, श्रेणी/C++, प्राथमिक/BASIC, यांत्रिक/ASM, शब्द/lex, व्याकरण/yacc, रोबोट/Logo.
Kannada · गुरु · C
Shaili names the host, never the spoken language. Kannada गुरु 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
- This document is the standard of Kannada गुरु / C.
- 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)
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.
| native | Romenagri | host |
|---|---|---|
| ಆದರೆ | aadaree | if |
| ಇಲ್ಲದಿದ್ದರೆ | illadiddaree | else |
| ತನಕ | tanaka | while |
| ಮಾಡು | maadu | do |
| ಗಾಗಿ | gaagi | for |
| ನಿಲ್ಲಿಸು | nillisu | break |
| ಮುಂದುವರಿ | mu_nduvari | continue |
| ಆಯ್ಕೆ | aayke | switch |
| ಸ್ಥಿತಿ | sthiti | case |
| ಪೂರ್ವನಿಯೋಜಿತ | puurvaniyaujita | default |
| ಹಿಂತಿರುಗಿಸು | hi_ntirugisu | return |
| ಸ್ಥಿರಾಂಕ | sthiraa_nka | const |
| ಪೂರ್ಣಾಂಕ | puur_naa_nka | int |
| ದಶಮಾಂಶ | dashamaa_nsha | float |
| ದ್ವಿಗುಣ | dvigu_na | double |
| ಅಕ್ಷರ | ak_sara | char |
| ಶೂನ್ಯ | shuunya | void |
| ಕಾರ್ಯ | kaarya | void |
| ವರ್ಗ | varga | class |
| ಹೊಸ | hosa | new |
| ಸಾರ್ವಜನಿಕ | saarvajanika | public |
| ಖಾಸಗಿ | khaasagi | private |
| ಸ್ಥಿರ | sthira | static |
| ವಾಸ್ತವಿಕ | vaastavika | virtual |
| ಯಾವಾಗ | yaavaaga | case |
| ರಚನೆ | racane | struct |
| ಸೇರಿಸು | seerisu | include |
| ಓದು | oodu | scanf |
| ಬರೆ | bare | printf |
Demo program
Source file: ../demos/langs/kannada_guru.uhin. This is the program, not a souvenir line.
<ಶೈಲೀ ಗುರು>
#ಸಮಾವೇಶ <ಮಾನಕಪನ.ಸ>
ಪೂರ್ಣಾಂಕ ಮುಖ್ಯ()
{
ಅಕ್ಷರ ಅ[೮೦];
ಪೂರ್ಣಾಂಕ ಕ;
ಮ_ಲಿಖೋ("आपका नाम क्या है?\n");
ಮ_ಪೂಛೋ("%s",ಅ);
ಮ_ಲಿಖೋ("नमस्ते %s.\n",ಅ);
ಕ್ರಮ(ಕ=1; ಕ<=10; ಕ++)
ಮ_ಲಿಖೋ("%d\n",ಕ);
ಮ_ಪೂಛೋ("%s",ಅ);
ವಾಪಸ 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 C. The shaili pragma is removed. It is not a host token.
Host after compile
Shaili pragma stripped from host. Host is C.
#includeint 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)
#samaawaeeshaint mukhya() { char _a[८०]; int 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 Kannada C.
Original Colab chrome: nb.frozen.html. Retrieved 2004 tree: retrieved/legacy/Hindawi. Romenagri sources: retrieved/legacy/Romenagri.