Comptime struct validator

Hi, I’m learning zig, and wanted to explore the comptime space in the language, so I decided to build a validator library using comptime to create the validators based on the structures. I would really appreciate any inputs on the code, I used Claude code to some extent to help me organize and event write some parts of the library (though I must say it struggled a lot for some parts of the std and build system since I’m using zig 0.15.2)

2 Likes

Funny thing, I’m doing a rework of my own module.

A link to your repo, or some code, might be helpful if you want feedback.

Edit: actually this isn’t the same thing as mine. I’m only validating types.

1 Like

completely missed this, thanks