Tyre
T ⊂ Ty ⊂ Tyr ⊂ Tyre
A family of three languages for humans and AI agents alike, built on one idea: make it hard to write bad code. Correctness lints are hard errors, every construct has one meaning, and types are the names — type x = f32; type y = f32; gives two types that cannot be mixed up. Each layer compiles to the one below it.
T
C, but consistent.
A C-level language: pointers, manual memory, newtypes in place of structs and unions, label/jump loops and defer. Two syntaxes, C-style and SLN, parse to one tree. Backends: C, unsafe Rust, WGSL, Cranelift and WebAssembly text.
Ty
All the features you need. None that you don't.
Every function is a type plus an impl. Generics, const functions, operator overloading through types, modules — and no traits. A borrow checker that infers instead of asking for lifetime annotations. Compiles to T, or to safe Rust.
Tyr
Think, then compute. in development
Natural-language-inspired: no brackets, nesting follows from the consonant structure of each word. Today a small vocabulary — arithmetic, comparison, bindings, loops — compiled through Ty to C.
Shared
- Macros — compile-time code that writes code, the same in T and Ty and in both syntaxes.
Source: gitlab.com/porky11/tyre