kannada-script
v0.0.2-0
Published
<h1 align="center">Kannada Script</h1>
Downloads
76
Maintainers
Readme
npm i -g kannadascript
namaskara
helu "Hello anna";
matte sigona
kannadascript test.kans
hello anna
This will be ignored
namaskara
// Write code here
matte sigona
This too
namaskara
idu a = 10;
idu b = "two";
idu c = 15;
a = a + 1;
b = 21;
c *= 2;
matte sigona
namaskara
idu a = 10;
idu b = 10 + (15*20);
idu c = "two";
idu d = 'ok';
idu e = khali;
idu f = sari;
idu g = thappu;
matte sigona
namaskara
helu "Hello World";
idu a = 10;
{
idu b = 20;
helu a + b;
}
helu 5, 'ok', khali , sari , thappu;
matte sigona
namaskara
idu a = 10;
enadru (a < 20) {
helu "a is less than 20";
} illa andre ( a < 25 ) {
helu "a is less than 25";
} enu illa andre {
helu "a is greater than or equal to 25";
}
matte sigona
namaskara
idu a = 0;
ellivargu (a < 10) {
a += 1;
enadru (a == 5) {
helu "andar se helu ", a;
munde nodu;
}
enadru (a == 6) {
saaku nilsu;
}
helu a;
}
helu "done";
matte sigona