rin
: [] <> () -> {}
A small systems language that compiles to readable C.
- One declaration shape.
name: kind = value, for variables, structs, enums and procs alike. Read left to right, always. - A simple module system.
import "file.rin"and that file's symbols are yours. Transitive, cycles diagnosed, no headers to keep in sync. - Lengths travel with memory.
[]Tslices carry their length, so indexes are checked wherever it is known.*Tis one value;[*]Tis C's raw pointer. - Generics & reflection. Instantiated per type while compiling, with a record describing every type that asks for one. No macros.
- Arena allocators. Ask once, hand out pieces, release the whole thing at once.
array,vec,mapand the rest of std allocate from the arena you pass them. - The debugger points at your source. Machine-code line tables name the
.rinfile, not the generated C.
Compiler architecture
Language tooling shaped around systems work
rin keeps generated C readable and exposes the memory model instead of hiding it. Monomorphization, compile-time reflection, arena-aware containers, and source-level debug information support engine and tools code without introducing a heavy runtime.
Production systems
Need a compiler, code generator, or engine toolchain?
I offer custom work on systems where language tooling, runtime architecture, and production constraints must be designed together.