S Technologies's Logo
Shunno
Shunno

Color

Indigo
Red
Green
Teal
Blue
Purple
Rose

Mode

Light
বাং
Documentation

Learn Shunno

The shape of the language in one page: how a program is written, what the keywords are, and which types you get. The full reference lives at docs.stechbd.net.

A tour

Five programs, start to finish

Each one adds a single idea to the one before it. Read them in order and you have the language.

hello.shnoShunno
দেখাও('হ্যালো, আমি শুন্য!');
Output
  • হ্যালো, আমি শুন্য!

The example from Shunno’s own documentation, unchanged. দেখাও prints its argument.

Reference

Every keyword

All of them, with what each one looks like in use.

  • চলকvar
    Declarationচলক ক = ৫;
  • ধ্রুবকconst
    Declarationধ্রুবক পাই = ৩.১৪;
  • সংখ্যাint
    Typeসংখ্যা বয়স = ২৫;
  • ভগ্নাংশfloat
    Typeভগ্নাংশ দাম = ৯.৫;
  • লেখাstring
    Typeলেখা নাম = 'রফিক';
  • বুলbool
    Typeবুল সত্যি = সত্য;
  • সারিarray
    Typeসারি নামগুলো;
  • সত্যtrue
    Literalবুল ক = সত্য;
  • মিথ্যাfalse
    Literalবুল খ = মিথ্যা;
  • যদিif
    Control flowযদি (ক > ৫) { }
  • নাহলেelse
    Control flowনাহলে { }
  • নাহলে_যদিelse if
    Control flowনাহলে_যদি (ক < ০) { }
  • যখনwhile
    Control flowযখন (ক < ১০) { }
  • চক্রfor
    Control flowচক্র (ক) { }
  • থামাওbreak
    Control flowথামাও;
  • চালাওcontinue
    Control flowচালাও;
  • এবংand
    Operatorযদি (ক এবং খ) { }
  • অথবাor
    Operatorযদি (ক অথবা খ) { }
  • নয়not
    Operatorযদি (নয় ক) { }
  • ফাংশনfunction
    Functionফাংশন যোগ() { }
  • পাঠাওreturn
    Functionপাঠাও ফল;
  • দেখাওprint
    Built-inদেখাও('হ্যালো');
Reference

The built-in types

A declaration opens with its type, and the compiler holds you to it from that point on.

  • সংখ্যা

    Whole number

    সংখ্যা বয়স = ২৫;

    Integers. Division between two of them truncates.

  • ভগ্নাংশ

    Fraction

    ভগ্নাংশ দাম = ৯.৫;

    Decimals. A সংখ্যা may be stored in one; the reverse is an error.

  • লেখা

    Text

    লেখা নাম = 'রফিক';

    Strings, in single or double quotes. Joined with +.

  • বুল

    Boolean

    বুল ছাত্র = সত্য;

    সত্য or মিথ্যা. Conditions must be one of these.

  • সারি

    Array

    সারি নামগুলো;

    Reserved by the language. Not covered by the in-browser interpreter.

Next

Where to go from here

Two directions, depending on whether you want to read more or write something.