As part of boot-strapping my NES emulator, I port my 6502 CPU emulator from #Haskell to #Lean. Some architectural changes – some encouraged by the language, and others simply from having a second bite at the apple – are made.
Thumbnail painting: La Bohémienne Endormie (1897) by Henri Rousseau
https://www.youtube.com/watch?v=li1DR392vv4