@andrewrk oh by the way, since i'm skipping LLVM for the new compiler, the only backend i work on now is C, and only GCC can optimize this crap r/n.
would it make more sense to target zig instead, and is it even feasible?
generated code looks like this:
https://gist.github.com/paniq/2dc23f916909519326374c769b04cc92
(presently #line instructions are missing; i would like to provide column info as well tbh but cpp doesn't let me)
it only depends on this header file:
https://hg.sr.ht/~duangle/scopes/browse/include/noir.h?rev=tip
you see, lots of cpp macro use.