3 ms·
I wish C had a jinja2-like preprocessor!
by notorandit 2y ago
I wish C had a jinja2-like preprocessor!
- chikere232 2y agoYou could use whatever preprocessor you like really, just add a make step that translates your template into c. I've seem some crazy person use M4 for example. It's usually a bad idea, but very feasible
- notorandit 2y agoIntegrated preprocessor. That was what I meant. Maybe with c-syntax awareness.