Skip to content

A delightful, concise and testable programming language seamlessly integrated with Kotlin.

Notifications You must be signed in to change notification settings

urverse-uz/UzbekLang

Repository files navigation

Uzbek Lang (Programming Language)

A delightful, concise and testable programming language seamlessly integrated with Kotlin.

Introduction

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 !

Basic Syntax

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;
}

Usage

  1. Create a new folder on your desktop;
  2. Download UzbekLang.jar file (build\libs\UzbekLang.jar)
  3. Create a new file with the ".uzlang". Write your test code in;
  4. Make sure the JAR file and the .uzlang file you created are in the same folder.
  5. Enter Command Prompt and open your folder.
  6. Type: java -jar UzbekLang.jar filename.uzlang
  7. Then see the Output and Actual Evaluations

Get In Touch

Email:

[email protected]


Telegram:

https://t.me/dribbblxr

About

A delightful, concise and testable programming language seamlessly integrated with Kotlin.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published