Arendelle: random numbers included

I used NCalc facility to handle Arendelle's mathematical expressions. At first NCalc proved to be a very slow system and wrong with huge numbers but the good side was it came with so many good functions. I tried to replace it with many other systems such as C# Expression Evaluator, Microsoft.JScript tool and some other techs, I still have uCalc in my list but the problem is it's not a free software or open source one and well I may someday move to make Arendelle open source so it will be a problem.

As I said I'm using NCalc, It offers so many awesome functions but there are some missing for example there is no power operator: '^' and you must use the Pow function, Also it's a bit fun that there is no random number in NCalc.

At first NCalc was a temporary part in the language so I had to see the final evaluator to see if I have to take action for creating the random number system myself or it's on the package and now I see that I'm going with NCalc till I write my own so I had to design a random system number, It had to be super easy and very easy like the rest of language, So I added a source instead of a function. (If you have no idea about sources in Arendelle in other languages you get variables which in Arendelle we call spaces. There is also another kind of variables in Arendelle called sources, they are read only variables that are dynamic and returns you informations like size of the screen, current color...).

Each time you write this random source '#rand' in Arendelle you get a random number between 0 and 1 coming with 1o decimals: '0.XXXXXXXXXX'.

This might be crazy but for me this is just the second day to have random numbers in my life, And I'm just exploring the possibilities, It's just one day and I did not have much time but I wrote about 7 mini little scripts including this one which you see in this blog's title:
   

│
│   // title
│      'Random Dots'
│   
│   // body
│
│      [ #j , 
│   
│         [ #i ,
│            { #rand < 0.5 , p } r
│         ]
│      
│         [ #i , l ]
│      
│         d
│      ]
│
│   // done
│

   

As I have said before developing your own language is the most fun part of being a developer, You somehow feel godness in your blood! You know Arendelle is a little small language but the joy if having it is so much for me and I'm imagining if I someday make Arendelle a bigger language I will die of happiness, You use some tools every day that seems they were there since forever and you know designing them makes you feel so special. I have created so many technologies from text editors and calculation machines to bar codes and digital graphics but Arendelle is something different all the way. It seems to be all of them in a way and more fun in the other way.