1\. Define types with names and an arbitrary amount of fields 2\. Define procs accessing with said types as parameters accessing the fields
By the way, if it can't be done with a single macro and without macros.quote then it's not going to be good, I will just write a code generator instead.
