This is my first public project in C. Feedback is welcome!
While working on another project, I was inspired by Rust's `dbg!`[1] macro which simply prints and returns the result of an expression. What started as a little, one line `#define` quickly turned into a decent amount of nested macros to generate functions and a dash of `_Generic` which was actually quite fun to get working.
I'm putting this out there in the hopes that it will be useful.
While working on another project, I was inspired by Rust's `dbg!`[1] macro which simply prints and returns the result of an expression. What started as a little, one line `#define` quickly turned into a decent amount of nested macros to generate functions and a dash of `_Generic` which was actually quite fun to get working.
I'm putting this out there in the hopes that it will be useful.
[1] https://doc.rust-lang.org/std/macro.dbg.html