Dynamic Numeric Types
Use 64-bit integers and double-precision floats, including decimal and scientific-notation literals.
A dynamically typed language implemented in Rust, with an LLVM-based JIT runtime
and a RegisterVM-powered interactive REPL. It supports 64-bit integers and
double-precision floats, functions, and closures. Write .krx files
or explore the language.
Use 64-bit integers and double-precision floats, including decimal and scientific-notation literals.
Run kria with no arguments. The RegisterVM REPL keeps state between inputs and supports multi-line blocks.
Named functions, lambdas, and nested closures that can retain and update captured values.
Mutable and immutable arrays, object literals, deep equality, and for-in iteration.
Multi-file projects with export fn and import alias from "./file.krx".
fn greet(name) {
return "Hello, " + name
}
set message = greet("Kria")
print(message)
Explore documentation
The latest release, published on November 15, 2026, fixes lexer and VM bugs, introduces the LLVM-based JIT compiler and RegisterVM, and improves backend performance. The release includes a Windows x86_64 installer; no prebuilt Linux/macOS binaries are listed. Read the 2.0.0 release notes or check GitHub Releases for the latest assets.
Choose this route only if you want to build Kria yourself. You will need the
Rust toolchain
(Rust 2021 edition). The default JIT backend for running .krx
files also requires Clang from LLVM on your PATH; alternatively,
select the RegisterVM backend as described below.
cargo build
This creates a debug build. Useful for development and testing.
cargo build --release
This creates an optimized release binary. The binary is located at target/release/kria.
For Linux / macOS:
./release/build.sh install
This builds Kria and installs it to ~/.kria/bin. Make sure this directory is in your PATH.
kria
Starts the persistent interactive REPL. It always uses the RegisterVM, regardless of the backend setting used for source files.
REPL commands:
:help — Show available commands:exit — Exit the REPL:reset — Clear all variables and functionskria -v
kria test.krx
Execute a Kria program from a .krx file.
Source files use the LLVM JIT by default. It requires Clang from LLVM on
PATH. To use RegisterVM instead, set KRIA_BACKEND=register:
# Linux / macOS
KRIA_BACKEND=register kria test.krx
# Windows PowerShell
$env:KRIA_BACKEND="register"
.\kria.exe test.krx
The setting affects source-file execution only; the REPL continues to use
RegisterVM. Remove the variable (unset KRIA_BACKEND on Linux/macOS
or Remove-Item Env:KRIA_BACKEND in PowerShell) to return to the
default JIT backend.
The 2.0.0 release includes a Windows x86_64 installer. To build from source, install Rust and NSIS.
cargo build --release
cd release
makensis kria-setup.nsi
# Run the generated installer from release/
No prebuilt Linux/macOS binary is listed for 2.0.0. Build from source
with Rust; the install script copies Kria to ~/.kria/bin:
./release/build.sh install
Create a distributable archive:
./release/build.sh package
Creates a tarball in the release/ directory.
For an IDE experience, use the official Kria Programming Language VS Code extension.
Once you have downloaded or built Kria, try running a simple script:
kria test.krx
Check out the full source code and releases on GitHub, or dive into the documentation to learn the language.