First serious
Polish programming language

AlexScript is a full-fledged programming language with Polish keywords, a Polish standard library API, and Polish error messages. OOP with inheritance, async/await, exceptions, debugger, web framework. No compromises.

Hello, World

Asynchronously fetch data from two sources in parallel, parse JSON, catch typed exceptions — all in one small program. The keywords are Polish, but the shape will feel familiar to anyone who's written Python or JavaScript.

import("http")

asynchroniczna funkcja pobierz_dane(url) {
    proba {
        zwroc Http.get_json(url)
    } zlap (e) {
        pokazl "Sieć padła: #{e["wiadomosc"]}"
        zwroc nic
    }
}

asynchroniczna funkcja main() {
    niech wyniki = czekaj Obietnica.wszystkie([
        uruchom_rownolegle(fn() { czekaj pobierz_dane("https://jsonplaceholder.typicode.com/users/1") }),
        uruchom_rownolegle(fn() { czekaj pobierz_dane("https://jsonplaceholder.typicode.com/posts/1") }),
    ])
    niech udane = wyniki.filtruj(fn(v) { v != nic })
    pokazl "Pobrano #{udane.dlg()} z #{wyniki.dlg()} zasobów"
}

uruchom(main)

Try it locally in seconds

Two commands to install, two to run your first program.

1

Install AlexScript via Homebrew

brew tap N3BCKN/alexscript
brew install alexscript
2

Run your first program

echo 'pokazl "Witaj!"' > test.as
alexscript test.as

Don't use Homebrew? See other installation methods — Docker, source, and VS Code extension.

Why AlexScript

Polish-first, end to end

Keywords, error messages, standard library names — everything reads in one language. Most programming languages assume English is neutral. AlexScript flips that choice and lets you finally think about code in Polish.

Real OOP, not toy OOP

Classes with inheritance, mixins via modules, abstract classes, static and private methods, 36 introspection methods on every object. Every class is open — you can reopen it from another file and add methods to existing types. Exceptions themselves are classes.

Batteries included

HTTP, JSON, CSV, TCP/UDP sockets, regex, cryptography (SHA, HMAC), files, time, async/await with a fiber-based reactor. One import("name") call — no package manager, no configuration.

Tools you'll actually use

Built-in debugger triggered by a single debug() — breakpoints, watchpoints, runtime variable modification. VS Code extension with syntax highlighting and snippets. REPL with colored output. Online playground in the browser.