← Projects

Dr Quine

March 2026

Cx86 AssemblySelf-ReplicationMetaprogramming42
github

Three progressively complex quines. The first prints its own source to stdout. The second writes its source into a child file. The third generates, compiles, and executes a child version of itself with a decrementing counter — a minimal self-replicating organism with mutable state. The assembly implementation in particular requires encoding the program’s own representation directly in machine-level constructs, with no abstraction layer to hide behind.