Post-mixin-expansion source output

Stefan Koch via Digitalmars-d digitalmars-d at puremagic.com
Sun May 8 09:36:55 PDT 2016


On Sunday, 8 May 2016 at 10:24:12 UTC, Mithun Hunsur wrote:
> Hi all,
>
> I was discussing this with Stefan Koch and a few other people 
> at DConf - would it be possible to have a compiler switch for 
> outputting the complete source file after the mixins have been 
> expanded, similar to gcc -E?
>
> [...]

Yes exactly, splicing it into the original source is precisely 
what I want to do.
You are correct the constructs are already lowered.


More information about the Digitalmars-d mailing list