AlexScript is an interpreted, general-purpose scripting language with entire syntax in Polish: keywords, standard library, and error messages included. You write jesli, funkcja and klasa instead of if, function and class. It's dynamically typed and object-oriented, drawing on Ruby and JavaScript, and it's implemented from scratch in Ruby as a tree-walking interpreter (lexer, parser, AST, evaluator).
Distributed via source, Homebrew and Docker:
brew tap N3BCKN/alexscript
brew install alexscript
Documentation & REPL: https://www.alexscript.pl
Source: https://github.com/N3BCKN/alexscript
Docker: https://hub.docker.com/repository/docker/alexscript/alexscript/general
Rosetta Code: https://rosettacode.org/wiki/AlexScript
IDE extension: https://marketplace.visualstudio.com/items?itemName=N3BCKN.alexscript
Features
- Fully Polish syntax: keywords, standard library, and error messages are all in Polish
- Object-oriented with single inheritance, mixins via modules, and public/private methods
- Typed exception hierarchy with try/catch/finally and custom, user-defined exceptions
- Fiber-based async/await runtime with promises and parallel execution
- First-class functions, closures, and higher-order methods (mapuj, filtruj, redukuj)
- Written from scratch in Ruby as a tree-walking interpreter (lexer, parser, AST, evaluator)
- Standard library: HTTP, JSON, CSV, sockets, math, time, file I/O, and cryptography
- Built-in interactive debugger with breakpoints
- Rich built-in methods on every data type, plus runtime reflection and introspection
- Dynamically typed with associative arrays supporting non-string keys
- Distributed via Homebrew, Docker, and source, with a VS Code syntax extension