A delightful, concise and testable programming language seamlessly integrated with Kotlin.
It covers the following exciting features:
- Declare and showcase variables of integer, string, and boolean types.
- Create a function with simple parameters and return a value.
- If-Else statements
- Perform various mathematical expressions.
- Commenting.
Experience the elegance of "Tozza" Uzbek Language, where simplicity meets power !
Variable Declaration:
ozgaruvchi a -> 5;
ozgaruvchi b -> 21;
ozgaruvchi c -> "Hello, UzLang!";
ozgaruvchi mantiq1 -> t;
ozgaruvchi mantiq2 -> nt;
Print Statement:
chiqar a;
chiqar 5;
chiqar 5+8;
chiqar mantiq1;
chiqar mantiq2;
Function:
f funktsiya(a | b) {
qaytar a + b;
}
Function Call:
ozgaruvchi qoshish -> funktsiya(5 | 7);
chiqar qoshish;
If-Else Statement:
agar (10 == 15) {
chiqar t;
} yoki {
chiqar nt;
}
- Create a new folder on your desktop;
- Download UzbekLang.jar file (build\libs\UzbekLang.jar)
- Create a new file with the ".uzlang". Write your test code in;
- Make sure the JAR file and the .uzlang file you created are in the same folder.
- Enter Command Prompt and open your folder.
- Type:
java -jar UzbekLang.jar filename.uzlang
- Then see the Output and Actual Evaluations
Email:
Telegram: