1
C Macro Reflection in Zig
Zig’s reflection combined with Zig’s ability to import C header files means Zig can be used for C macro reflection.
Personal website of Jacob Strieb.
Visit jstrieb.github.io → On Hacker News Nov 2019 – Jul 2024
Software Engineering 2Life, Learning & Writing 1Programming Languages 1
Zig’s reflection combined with Zig’s ability to import C header files means Zig can be used for C macro reflection.
A function to return the number of digits in an input (natural) number provides many learning opportunities for a new programmer