The vision is to make it more user friendly to help learners to learn programming easily. You can see some examples of basic program in the /examples folder. To create a LScript program you need to create file with .lsc extension. To use the interpreter of LScript open the LScript executable.
/path/to/LScript filename.lsc
- Variable
- Array
- Loop
- Conditional Statement
- And some built-in functions.
Integer number1 = 10;
Floating number2 = 10.10;
String name = "Abthahi Ahmed Rifat";
Boolean isProgrammingLanguage = True;
Array(Integer) numbers = [10, 20, 30, 40, 50];
Array(String) names = ["Abtahi", "Ahmed", "Rifat"]
print("Hello Bangladesh!");
Integer num;
input(num);
print(num);
while (expression)
{
statements
}
for (condition; increament/decreament)
{
statements
}
if (condition)
{
statements
}
else if (condition)
{
statements
}
else
{
statements
}
showVarTable()