NES Emulator in Lean - Porting the CPU @TeaLeavesProgramming
NES Emulator in Lean - Porting the CPU  @TeaLeavesProgramming
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
NES Emulator in Lean - Porting the CPUDimhaven Enigmas Kickstarter Demo, Part 1Assembling The Assembler (From NAND To Tetris)Wizardry: The Bishop Glitch + Viewer MailWhat the Functor? (Haskell for Dilettantes)Porting an NES Emulator to Lean: Subtypes and Dependent TypesLets Play The Fools Errand - Part 9.Lost in the Folds: Haskell MOOC Set 5bHaskell For Dilettantes - Part 1 - IntroTurings World - An Introduction to Computability TheoryLets Play Alans Automaton Workshop: Part 2I Never Thought The LLM Leopards Would Eat My Face
Tea Leaves |

NES Emulator in Lean - Porting the CPU

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER