SectorC: A C Compiler in 512 bytes
Summary
SectorC is a C compiler written in x86-16 assembly that fits within a 512-byte boot sector. It supports a substantial subset of C and demonstrates aggressive size optimization, including a Barely C language concept, tokenizer ideas, and a tiny runtime. The article details implementation tricks, a formal grammar, and examples such as hello and a sine-wave animation.