Documentation

Welcome to the official Reox documentation. Build native, AI-first applications for NeolyxOS with system-level performance.

What is Reox?

Reox is a statically-typed, compiled language designed specifically for NeolyxOS. It aims to be simpler than C++ but safer than C, offering modern features like type inference, pattern matching, and memory safety without the overhead of a virtual machine.

Unlike other languages, Reox treats User Interface and AI as first-class citizens. You define windows and views directly in the language syntax, and integrate AI models with native keywords, all compiling to optimized native code via C transpilation.

Reox vs Swift

Reox is heavily inspired by Swift, adapting its best ideas for the NeolyxOS ecosystem.

FeatureReoxSwift
Target OSNeolyxOSmacOS / iOS
UI FrameworkNative Syntax (ReoxUI)SwiftUI (Library)
AI IntegrationNative Keywords (`ai`)CoreML Libraries
CompilationC Transpile → NativeLLVM Native
Async/AwaitNative (`async fn`)Native (`async`)
Memory SafetyYes (Ownership)Yes (ARC)