@neauoire if all the machinery is already in place and it's not a huge pain in the butt to implement in drifblim and friends, then yea, I think it would be cool 😀 I use this approach all over the place in this program i'm writing
@neauoire I love uxntal, let me tell you. You want to assign a name to an address in memory? Labels! Maybe assign some names to devices and their ports? Labels! Need enums? Use labels! Structs? yeah you can just use labels!
Devine Lu Linvega
in reply to charlie • • •charlie
in reply to Devine Lu Linvega • • •btw, got this idea from you talking about enums in this list https://lists.sr.ht/~rabbits/uxn/%3CCAKis%3DaFmUedhNM8pgm8n2YjUj4aM2ozNH6+Gc%3DPQC88SY2oWCw%40mail.gmail.com%3E
Uxntal enums — sourcehut lists
lists.sr.htcharlie
in reply to charlie • • •https://paste.sr.ht/~bellinitte/54fd46afdf4aeaac3ae4449e518ba11daf7c6309
label-pads.diff — paste.sr.ht
paste.sr.htcharlie
in reply to charlie • • •```
%Vector/size$ { $4 }
%Player/size$ { $9 }
@player-1 Player/size$
```
but this approach requires adjusting all paddings by hand in case any size changes.
Devine Lu Linvega
in reply to charlie • • •Devine Lu Linvega
in reply to Devine Lu Linvega • • •nested.patch — paste.sr.ht
paste.sr.htcharlie
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to charlie • • •charlie
in reply to Devine Lu Linvega • • •Devine Lu Linvega reshared this.
Devine Lu Linvega
in reply to charlie • • •