On Saturday, 17 June 2017 at 11:27:40 UTC, Igor Shirkalin wrote:
On Saturday, 17 June 2017 at 11:23:52 UTC, Cym13 wrote:On Saturday, 17 June 2017 at 11:20:53 UTC, Igor Shirkalin wrote:[...]I'm sure others will have cleaner solutions as as a quick hack you can read the file at compile time, modify it, and compile the D code on the go:[...]Thanks a lot! That what I was looking for.
FWIW there are tools for this as well,e.g. https://github.com/jacob-carlborg/dstep