Rail playground

browser editor for the Rail language — not yet

Forging

No compiler is wired to this page yet. An earlier version shipped an editor whose Run button depended on a compile service that wasn't running — a dead button dressed as a live one. We took it down. This placard stays until source typed here actually compiles and runs in your tab.

Meanwhile, the real thing takes about a minute. On an Apple-silicon Mac, the seed binary in the repo compiles and runs Rail directly — no toolchain to install:

# clone, write a program, run it git clone https://github.com/zemo-g/rail && cd rail printf 'main = let _ = print "Hello, Rail" in 0\n' > hello.rail ./rail_native run hello.rail

The same binary rebuilds itself from its own source (./rail_native self) and runs the full test suite (./rail_native test). That is the playground, for now: the actual compiler, on actual hardware you own.