On Wednesday, 8 January 2014 at 22:01:56 UTC, Brian Schott wrote:
Just make your makefile run the script, pipe its output to a file, and do a string import of the generated file.
The kind of stuff I want to use it for would make that tactic tedious and error prone. I would use it like how ctfe is used now.
Having multiple points in the source(maybe hundreds) that would call out to a external program at compile time but pass out different args. Relying on a makefile to do something like this would require me to keep the makefile and the source code constantly in sync and would become a problem before long.
