Does D have any facilities that could make this possible?
It seems that there is a feature I was unaware of/forgot called Import Expressions.
unittest { enum s = import("myfile"); }Is there something similar to this for outputting files at compile-time? Or do I need to keep the source around and write it at run-time?