64 releases (14 breaking)

new 0.14.0-dev.1 Nov 10, 2024
0.12.3 Aug 17, 2024
0.12.0-dev.1 Jul 12, 2024
0.9.5 Feb 28, 2024
0.4.1 Nov 30, 2023

#87 in Programming languages

Download history 20/week @ 2024-07-28 182/week @ 2024-08-04 594/week @ 2024-08-11 192/week @ 2024-08-18 39/week @ 2024-08-25 25/week @ 2024-09-01 24/week @ 2024-09-08 85/week @ 2024-09-15 44/week @ 2024-09-22 161/week @ 2024-09-29 139/week @ 2024-10-06 593/week @ 2024-10-13 457/week @ 2024-10-20 56/week @ 2024-10-27 31/week @ 2024-11-03 143/week @ 2024-11-10

729 downloads per month
Used in uiua-doc-gen

MIT and maybe LGPL-3.0-or-later

2MB
48K SLoC

Uiua

Uiua (pronounced "wee-wuh") is a stack-based array programming language.

Documentation, examples, and an online interpreter can be found at uiua.org.

You can also check out the Discord server.

You can support Uiua's development via GitHub Sponsors.

Installation

You can try the language without installing anything on the website.

If you want to install the interpreter locally there are 2 options:

  • If your OS is supported, you can simply download the latest release.

  • If not, you will need to install via Cargo. This requires Rust (>=1.75) to be installed.

    You can install with:

    cargo install uiua
    

    On Linux, you may need to install some dependencies first:

    apt install libx11-dev
    

    The following optional features are available but not enabled by default (enabled by passing --features <feature>):

    • audio: Enables audio system functions (may require libasound2-dev libudev-dev pkg-config on Linux)
    • webcam: Enables webcam system functions (may require libjpeg-dev on Linux)
  • If you want the most recent development version of Uiua, you can install from the git repository.

    cargo install --git https://github.com/uiua-lang/uiua uiua
    
  • If you use Nix or NixOS, you can clone this repo and do following:

    nix develop    # to drop into a shell prompt with all the dependencies
    cargo check    # to make sure you can compile/build latest version
    cargo build    # to build latest debug version of uiua
    cargo run repl # to get uiua repl
    

    nix develop is not necessary if you have direnv active, in that case direnv allow will activate the flake devshell.

    Note: If you encounter errors such as rustc or any other package version mismatch, it is most likely that flake.lock file needs to be updated to pull in updated dependencies for nix shell.

Language and Font Support

The Uiua native interpreter has a built-in language server that can be used by editor extensions.

You can find a list of editor extensions here.

You can find a list of fonts that support Uiua's characters here.

Dependencies

~7–51MB
~865K SLoC