ilm 0.1.6

A fun programming language with Islamic terminology.
bismillah
    // it should work
      maktub real_name = "Shafin";

      maktub a = 4;
      maktub b = 2;
      qadr x = 8;   //immutable constant
      qadr y= 1; //immutable constant

      // this kind all should work for all artihmatic
      maktub c= a+b;
      qadr z = x+y;
      maktub p= a+x;
      maktub q= a+p/c+b%x+y-c*z+p+p+z+c+p/y+9; 

 
      qawl_("q is $q");

      // qadr r= a+x+y + real_name; //should give error as numbers and strings cannot do operations like this 

      // this also should work
      qawl_(a+b);
      qawl_(a+y);

      // these should work
     qawl_("$a, $b - ${a + b}, ${a * b}, ${a / b}, ${a % b}");
     qawl_("${6+6}");
     qawl_(6+2);

     qawl_("${p/q+a+b/x+y%3+c-z+9}");  // or qawl("${p/q+a+b/x+y%3+c-z+9}\n");


      // we should not be reassign maktub using maktub again, we need tajdid to reassign
      // maktub a=6; // > astaghfirullah: Syntax error at line 10: Variable 'a' already declared; use tajdid to reassign
      // qawl_("Printing a reassigning a using maktub: $a");  //not printing
 
      // printing qadr
      qawl_("Printing qadr: $x");

      // qadr is constant and cannot be changed let's see
      // qadr y=16;  //> astaghfirullah: Syntax error at line 17: Constant 'y' already declared and cannot be redefined
      // qawl_("Printing qadr: $y"); //no printing

      // tajdid y=16; //> astaghfirullah: Syntax error at line 20: Cannot reassign constant 'y'
      // qawl_("Printing qadr: $y"); //no printing

      // single line comment working


      // here should give error as cannot take input as a and already defined and error with line number and proper cause
      // istima a;
      // istima b;
      // qawl_("Result is ${a + b}"); // Won't run
 
      // below of these will work
      istima firstNum;
      istima secNum;
      istima thirdNum;
      qawl_("Result is is ${firstNum+secNum+8/firstNum-secNum%thirdNum}");

      maktub Res = firstNum + secNum + 8/firstNum - secNum%thirdNum;
      qawl_("Res is $Res");
 
      istima userName; //taking input working
      qawl_("Printing user input: $userName");

      qawl_("Assalamu'Alaikum $real_name");

      tajdid real_name = "Ahmed";  //reassign a value working

      qawl("$real_name with new line without using qawl_\n");

      qawl("Assalamu'Alaikum $real_name");

      /*
        This is a comment block.
        It will not be executed.
      */

 alhamdulillah