Sep 9, 2018 · 1 min read
Thank you, I am aware of this, but it feels kinda like an after-thought hack, and as some other’s have pointed out here in the comments, generate doesn’t take into account any aspects of the language (such as scope, syntax, etc…), and at the end of the day isn’t much more helpful than just writing my own pre-processor using something like M4.