Skip to content
English
funksiya fibonachchi(chegara):
    a, b = 0, 1
    toki a < chegara:
        ber a
        a, b = b, a + b

chiqar(ro'yxat(fibonachchi(100)))
Output
[0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89]

Functions and generators

A function is defined with funksiya and returns a value with qaytar. With ber it becomes a generator that hands out its values one at a time.

Learn more

Algorizm is a programming language with Uzbek keywords and a syntax close to Python. It is small, needs nothing else installed, and runs on Windows, Linux and macOS. Learn more

Get started

New to programming, or coming from another language? Install Algorizm and write your first program in five minutes.

Start here

Download

Algorizm is a single small program. There is nothing else to install.

Latest version: Algorizm 0.1.0

All downloads

Documentation

A step-by-step tutorial and a full reference for the language, its built-in functions and its standard library.

Read the documentation

Examples

Complete programs with their output: prime numbers, word counting, classes, files and JSON.

See the examples

Why Algorizm

  • Uzbek keywords. agar, toki, funksiya, qaytar: a program reads like a sentence, so a learner thinks about the task and not about English.
  • Helpful errors. Messages are in Uzbek, name the line and the chain of calls, and suggest the right word for a mistyped or English one.
  • Familiar syntax. Blocks by indentation, lists, dictionaries, f-strings, classes, generators. What you learn carries over to Python.
  • Batteries included. Files, folders, dates, JSON, regular expressions, mathematics and random numbers are in the standard library.
  • One small file. No installer and no dependencies: download a single program of about one megabyte and run it.
  • Written in C. Programs are compiled to bytecode and run on a fast virtual machine with automatic memory management.

Keywords at a glance

AlgorizmPython
agarif
yoki agarelif
aks holdaelse
tokiwhile
har … ichidafor … in
funksiyadef
qaytarreturn
sinfclass
rostTrue
yolg'onFalse
bo'shNone
urin / ushlatry / except

All keywords