Namma Bhashe

ನಮ್ಮ ಭಾಷೆ

Write NammaBhashe Code:

hi maga
hel maga 'Hello NammaBhashe!';
bye maga

Output:

📜 How to Use NammaBhashe?

NammaBhashe is a simple kannada toy programming language. Follow these steps:

  1. Write NammaBhashe code in the editor above.
  2. Click Run Code to execute it.
  3. Check the translated JavaScript output below.

📝 Example Code

Here are some example programs:

🟢 Print & Variables

hi maga
maga idu x = 10;
hel maga "Value of x is " + x;
bye maga

🔵 If-Else Condition

hi maga
maga idu x = 10;
nod maga (x > 5) adre
  hel maga "x is greater than 5";
illa andre
  hel maga "x is not greater than 5";
bye maga

🟣 Loops

hi maga
maga idu x = 5;
maga (x > 0) ago tanka
  hel maga x;
  x = x - 1;
bye maga