Hi, all. I have recently started experimenting with Zig, and I've made a small library for producing bitfields at comptime. It also includes configurable validation rules for sub-fields within the bitfield. It's pretty small, but I wanted to share it in case: 1) it would be useful to anybody; and, 2) since it's my first Zig library, I'd welcome any (constructive) feedback on it. You can find it at https://github.com/nwchandler/bitfield.zig
#bitfield.zig
1 messages · Page 1 of 1 (latest)