Uploaded September 2026 | Updated November 2026, 3 hours ago
As part of bootstrapping the NES emulator, I port my 6502 CPU emulator from Haskell to Lean. Along the way I make some architectural changes - some encouraged by the language, and others simply from having a second bite at the apple and rearchitecting things a bit.
Thumbnail painting: La Bohémienne Endormie (1897) by Henri Rousseau
As part of bootstrapping the NES emulator, I port my 6502 CPU emulator from Haskell to Lean. Along the way I make some architectural changes - some encouraged by the language, and others simply from having a second bite at the apple and rearchitecting things a bit.
Thumbnail painting: La Bohémienne Endormie (1897) by Henri Rousseau










