Tootfinder

Opt-in global Mastodon full text search. Join the index!

@jamesthebard@social.linux.pizza
2025-11-17 05:10:07

Today I learned about the true power of macros...and holy crap, they are awesome. Started back on the Z80 emulator and wondered if there was a way to reference procs in Nim using strings. Did some searching and came across someone who did something very similar and it never crossed my mind to even try this.
#nim

A simple macro to assign procedures to a lookup table so they can be referenced via string.