Why I Built a Compiler for a Space Game | Stationeers IC10
Most developers treat compilers as black boxes. I was the same — until Stationeers, a space survival game with its own assembly language, pushed me to build one. After hitting the limits of IC10's 16 registers and 128 lines, I created a compiler that translates ReScript into optimized assembly. This is part 1 of a series covering lexers, parsers, register allocation, and the bug that inverted all my conditionals.