Extending an Enum in Zig

For a while now I have been dabbling with zig and as a small test writing a NES-emulator (everyone should have written an 8-bit emulator in their life right?). While doing this I stumbled upon a kind of neat trick that you can do in zig that I thought was worth sharing&hellip; with kind of a &ldquo;anti-climactic&rdquo; end! Some background While writing some debug-tools I decided that I wanted to…