Learn Asomiya
Quick start
Welcome to Asomiya! This page shows you the 80% of the language you will use every day. You don’t need to install anything: press Try it on any example to run it in your browser.
Tip
Every example on this site has two tabs: অসমীয়া (Assamese script) and English letters. They are the same program. Pick one and the whole site follows your choice.
You will learn
- How to show text on the screen
- How to store values in variables
- How to make decisions and repeat things
- How to write your own functions
Say hello
A program is a list of instructions. কোৱা (kowa, “say”) prints whatever you give it:
Remember values
ধৰা (dhora, “suppose / let”) creates a variable: a name for a value. Use + to join text.
Make decisions
যদি (jodi, “if”) runs a block only when a condition is true. নহ'লে (nohole, “otherwise”) runs when it isn’t.
ধৰা নম্বৰ = ৭৫
যদি (নম্বৰ >= ৩০) {
কোৱা("উত্তীৰ্ণ")
} নহ'লে {
কোৱা("আকৌ চেষ্টা কৰক")
}
উত্তীৰ্ণ
dhora nombor = 75
jodi (nombor >= 30) {
kowa("uttirno")
} nohole {
kowa("akou sesta korok")
}
uttirno
Repeat things
যেতিয়ালৈকে (jetialoike, “as long as”) repeats a block while its condition stays true:
Write functions
ফাংচন (fangchon) defines a reusable piece of code. ঘূৰাইদিয়া (ghuraidiya, “give back”) returns a result:
Next steps
You now know the core of Asomiya. Continue with Installation to run programs on your computer, or jump straight into the playground.