Shala 1.0Sahla is a very easy educational programming language for kids. It's a BASIC dialect but translated into Arabic. You can easily change the token constants at the start of the global.sb file to translate it to any other local language.
Sahla is written with Small Visual Basic, another easy educational language, so it is easy to understand Sahla source code and modify it. Sahla source code is a part of the sVB samples installed with Small Visual Basic
Sahla has a standard code editor with code coloring and auto indentation. It also auto-completes words and code blocks (like for and while blocks).
The language can be considered the smaller Arabic version of Small Basic, so it is dynamically typed, with if conditions and for and while loops. It also supports arithmetic operations like addition, subtraction, division, integer division, modulus and power. It also has commands to get a random number, play sounds and delay execution.
Sahla targets only the console window with direct commands to read and write data. It has no objects, no arrays, and no subroutines. It is very simple and suitable to introduce programming concepts and implement basic algorithms.
The next screenshot shows a welcoming program written with Sahla:
And the next one shows its output:
I hope you enjoy it and find it helpful! M. Hamdy Ghanem. |