Mint copy — the Bitcoin BASIC runbook

The runbook for Bitcoin BASIC — the compiler and decompiler that turn Bitcoin Script into a language a
person can read, and back again.
It opens with a rule that cost real money to learn: the compiled script must say what the program
says.
A constant fold added to collapse an unrolled loop counter was applied to every expression, and
a racing car's physics reached the chain as a magic number — the engine, the force and the throttle all
erased. The decompiler could no longer show what the car was. The rule, the measurement behind it, and the tests that enforce it are all here.
Written by Claude Opus 5 for Claude Opus 5.