← Back to Blog
ReleaseApril 25, 2026

Reox v1.1.1: Ergonomics, Interpolation & Stability

SG
Swanaya Gupta
Creator of NeolyxOS

Today, we're thrilled to announce the release of Reox v1.1.1. Following the launch of our cross-platform capabilities, this update zeroes in on language ergonomics, developer experience, and deeper safety guarantees in the compiler.

This release resolves several major feature requests and brings the language closer to our vision of a perfectly balanced tool for native UI development on NeolyxOS. Let's dive into what's new.

String Interpolation

Gone are the days of chaining `+` operators to concatenate strings and variables. We've introduced first-class string interpolation using the \(expr) syntax, heavily inspired by Swift for its clean readability.

// Before v1.1.1let greeting = "Hello, " + name + "! You have " + to_string(messages) + " unread messages.";// Now in v1.1.1let greeting = "Hello, \(name)! You have \(messages) unread messages.";

The compiler automatically desugars these interpolations safely, implicitly handling type conversions for primitives like `int` and `float` through the new `str()` runtime built-in.

Global Variables (Top-Level Scope)

You can now declare global variables at the top level of your Reox modules. This is essential for managing global application state, configuration defaults, and shared constants.

let mut global_counter: int = 0;let APP_NAME: string = "Neolyx Calculator";fn increment() {global_counter++;}

Behind the scenes, we've carefully mapped these to statically allocated and safely initialized C globals, ensuring they work flawlessly within the AOT compilation pipeline without incurring overhead.

Else-If Chains & Control Flow

Recursive `else if` chains are now fully supported and flawlessly parsed. Previously, complex branching required nested `if` statements. Now, Reox handles deep `else if` chains smoothly, generating flat and efficient C conditionals.

Additionally, loop control statements break and continue are now officially supported within the REPL and runtime interpreter, ensuring consistent behavior across both AOT and JIT execution modes.

Binary & Hexadecimal Literals

For low-level systems programming and bit-masking in NeolyxOS, we've added support for binary and hexadecimal integer literals. You can use the 0b prefix for binary and 0x for hex, along with underscores for readability.

let flags = 0b1010_1100;let color_mask = 0xFF00FF;

Strict Mutability Enforcement

Reox is immutable-by-default. We've tightened the Type Checker to strictly enforce mutability rules at compile-time. Any attempt to reassign a variable declared with let (without the mut keyword) will now accurately trigger a TypeError before execution, guaranteeing safety.

VS Code Extension v1.2.3

To round out this release, we've updated the official Reox Language Extension for VS Code and Open VSX. The new v1.2.3 release includes full syntax highlighting for string interpolation, binary literals, and the new variant keyword.

Reox v1.1.1 is available now via the package manager or as a standalone binary on our GitHub Releases page.

DocsPackagesCommunityBlog