Found on Medium: Why we chose the D Language and vibe.d
jmh530
john.michael.hall at gmail.com
Wed Dec 19 21:01:36 UTC 2018
On Wednesday, 19 December 2018 at 17:42:00 UTC, H. S. Teoh wrote:
> [snip]
>
> I'm quite tempted to cook up my own HTML generation framework
> that does codegen as a separate step, using D tools to generate
> D code, that then gets compiled into the actual executable.
> Despite all the power of CTFE and other compile-time features,
> past a certain level of complexity I really want to physically
> see the generated code rather than wade through inscrutable
> templates and mixins and try to imagine in my head what the
> generated code looks like. (You wouldn't believe it, debugging
> is SO MUCH easier when you don't have to instantiate templates
> in your head just to understand what the code is trying to do,
> but can just look at the actual generated code being fed to the
> compiler as a file.)
>
>
> T
What you really need is a tool that will show you the generated
code from mixins/templates/ctfe for testing purposes. I don't
think you're the only one...
More information about the Digitalmars-d
mailing list