Dlang code mixin output

JS js.mdnq at gmail.com
Wed Jul 31 05:09:04 PDT 2013


It would be nice to be able to have a precompilation step that 
produces a d output file that is the "mixed down" version with 
all the string mixins computed. This would allow one to look at 
the files, allow better code analysis/error messages, and 
intellisense and other things to be useful.

A simple compiler switch would do the trick to enable such a 
feature. *.dc files could be generated, or whatever, for each d 
file if it uses string mixins(I suppose template mixins could 
also be reduced).





More information about the Digitalmars-d mailing list