Systems Programming Language.
https://nytrix.x3ric.com ↗// readme
Nytrix
Native language, toolchain, and standard library.
Nytrix is for programs that benefit from expressive source code and direct control of their machine boundaries. The same workflow covers ordinary files, reusable modules, compile-time generation, C interfaces, and native binaries.
The Nytrix Manual covers the language overview, practical guides, specification, and source-linked API reference.
First program
use std.core
fn greet(str name) str {
"Hello, " + name + "!"
}
print(greet("Nytrix"))
assert(greet("Nytrix") == "Hello, Nytrix!", "greet")
./make ny -run hello.ny
./make ny -o hello hello.ny
./hello
./make ny https://raw.githubusercontent.com/x3ric/xtool/refs/heads/main/xtool
Install
chmod +x make
./make
./make install
ny --version
Use python3 ./make if your shell does not execute ./make directly.
Language
Data
use std.core
enum Shape {
Circle(int radius),
Empty
}
fn area(shape) int {
match shape {…