reflection based on my experience so far on compile-time meta-programming in D as a novice user: the problems

MoonlightSentinel moonlightsentinel at disroot.org
Mon Sep 14 09:12:46 UTC 2020


On Sunday, 13 September 2020 at 18:32:17 UTC, mw wrote:
> -- in D, there is no easy way to see directly the generated 
> source code by the compiler at compile-time, which makes the 
> debug difficult during development.

You might want to try `-mixin=<file>` (writes expanded mixins 
into <file>) and -vcg-ast (dumps the semantically analysed code 
into <source>.cg)


More information about the Digitalmars-d mailing list