Open for new projects
Open source · Version 2.3.1

A programming language that thinks in Azerbaijani

Keywords, error messages, docs and the IDE — all in our native language. Write console programs, websites, desktop apps and browser code in one language.

əgərhər … üçün funksiyasinif cəhd etgözlə
palindrom.alq alqor
// Mətnin palindrom olub-olmadığını yoxlayır
funksiya palindromdur(söz: mətn) -> məntiq
    dəyişən t = söz.kiçiyə().əvəz(" ", "")
    qaytar t == t.tərs()
son

hər söz üçün ["Ana", "Alqor", "212"] içində
    əgər palindromdur(söz) onda
        yaz("{söz} → palindromdur ✓")
    yoxsa
        yaz("{söz} → palindrom deyil ✗")
    son
son
output output
Ana → palindromdur ✓
Alqor → palindrom deyil ✗
212 → palindromdur ✓

Not a toy — a modern language

Millions start programming by first learning English. Alqor removes that barrier: think the algorithm in your own language, write it, and the computer answers in your own language.

Modern language

Classes, inheritance, interfaces, algebraic enums, pattern matching, closures, generators, async/await, gradual types.

Azerbaijani, done properly

Correct ı/İ casing, alphabetic ordering (ə sorts after e), 5.yazıyla() → beş (five in words).

Errors you understand

Every error in Azerbaijani, with its code, the location of the mistake, and a suggested fix.

Any keyboard

Type “eger” and it is accepted as “əgər” — works on a computer without an Azerbaijani keyboard.

One language — four targets

Console, web server, desktop window and JavaScript (Node.js / browser) — from the same code.

A complete toolkit

IDE, package manager, formatter, linter, test runner, doc generator, LSP and debugger.

Console, web, desktop and browser

The same code runs in four places — the Python runtime, a web server, a native window and JavaScript.

01

Web server

Routes, JSON API, HTML templates — starts from five lines.

veb.Server()s.al("/yol")veb.json()s.dinlə(8080)
server.alq alqor
gətir veb

dəyişən s = yeni veb.Server()

s.al("/", (q) => veb.mətn("Alqor serveri işləyir"))

s.al("/salam/:ad", (q) =>
    veb.html(<h1>Salam, {q.parametr("ad")}!</h1>))

s.al("/cəm/:a/:b", (q) => veb.json({
    "nəticə": tamƏt(q.parametr("a")) + tamƏt(q.parametr("b"))
}))

s.dinlə(8080)
02

Desktop app

118 built-in widgets; the same component also runs on the web.

komponentvəziyyətvidjet.sütun()göstər()
salam.alq alqor
gətir pəncərə
gətir vidjet

komponent Salamlama
    vəziyyət ad: mətn = ""

    göstər()
        qaytar vidjet.sütun(boşluq: 12, məzmun: [
            vidjet.başlıq(mətn: "Alqor ilə salam"),
            vidjet.sahə(etiket: "Adınız", dəyər: özü.ad,
                        yazıldı: (d) => özü.ad = d),
            vidjet.mətn(məzmun: əgər özü.ad == "" onda
                "Adınızı yazın…"
            yoxsa
                "Xoş gəldin, {özü.ad}!" son)
        ])
    son
son

dəyişən p = yeni pəncərə.Pəncərə("Salam", 360, 220)
p.məzmun(yeni Salamlama())
p.göstər()
pəncərə.işlət()
03

To JavaScript

Run on Node.js or in the browser, without Python.

alqor işlət --jsalqor qur --hədəf vebalqor yerləşdir
terminal bash
# Eyni koddan dörd hədəf — Python olmadan da:
alqor işlət --js proqram.alq        # Node.js-də dərhal işlət
alqor qur --hədəf veb proqram.alq   # → qurma/veb/index.html
alqor yerləşdir                     # → statik hostinq üçün qovluq

The work behind it

~57,000lines reference implementation
1,200+automated tests
118built-in widgets
40+standard modules
121readable error codes

More than a language — a full ecosystem

Everything from the IDE to the package registry is included.

alqorRun, create projects, build, test, docs, REPL
Alqor StudioIDE: editor, visual designer, preview, debug
alqorpm · alqorhubPackage manager and package registry server
alqorfmtFormats code; fixes ASCII keywords
alqorlint35-rule static analysis with auto-fixes
alqorls · dapLSP and debugger — VS Code, Neovim, Helix

Install Alqor on your machine

v2.3.1 is out — for Windows, Linux and macOS. Pick your platform and download from vuqar.pro/hub.

The installer brings Alqor Studio, the alqor commands and a bundled Python runtime — nothing else to install.

How to begin?

Start learning without waiting for the installers — the full documentation is on the site.

Open the docs

Try Alqor now

Download for free and start writing programs in Azerbaijani.