v1.4.0 // 2026-03-22

A language that
deleted its own
compiler.

21,086 lines of Rust → 1,979 lines of itself. It compiled itself. The output was byte-identical. I deleted the Rust.

View on GitHubRead the story
Rust
21,086
Rail
1,979
Binary
~8 MB
Binary
329 KB
Build
~30s
Build
~5s
Deps
Cargo, Cranelift, Rayon
Deps
as + ld
Reilly Gomez
Reilly Gomez
Systems Engineer

I like building things that work with minimal resources. Most of my time goes into Rail and the infrastructure around it. Before that I spent nine years running a food production business, which taught me that systems need to be reliable before they can be clever.

The story

Rail started as a Rust project in January 2026. Two months later, it deleted its parent.

JAN
21K lines of Rust
Interpreter, parser, type checker, LSP, Cranelift JIT
FEB
ARM64 codegen
Native compiler written in Rail itself
MAR 16
Self-hosting
Fixed point. Rust deleted.
MAR 17
v1.0.0
67 tests, Metal GPU, WASM
MAR 20
Flywheel
Self-training loop goes live
MAR 21
v1.3.0
32-layer LoRA, MCP, fleet
MAR 22
v1.4.0
GC, nested lambdas, 70 tests

How it works

1,979 lines. Source in, ARM64 binary out. The compiler compiles itself.

.rail
source
Lexer
tokens
Parser
AST
Codegen
ARM64 asm
as + ld
binary

Allocator

1GB bump arena
+ free list

GC

Conservative
mark-sweep

Runtime

Tagged pointers
TCO + closures

Full technical details on /system

The flywheel

The compiler is the oracle. If it compiles, the code is correct. The model gets better at writing the language it is verified by.

COMPILERoracleGenerateCompileHarvestTrain

4,500+

verified examples

25

curriculum levels

2

nodes (M4 + 3070)

Other work

Autonomous Trading

Live Solana trading. Five-thread architecture, 12-layer defense stack, LLM oversight. One file.

LLM Router

Three-tier model router: 9B Metal GPU, small ANE, cloud fallback. Priority queue. Sluice.

Neuromancer

Semantic search for books. ONNX embeddings + SQLite FTS5, Reciprocal Rank Fusion.

Nanoversight

Autonomous oversight. One file, one loop, one LLM. Open source.

Interested in working together?

Open to remote work and collaboration.

EmailGitHub
> LEDATIC v1.4.0
loading...
self-compile: 70/70
gc: mark-sweep
READY