Expanding CTFE code during compilation
Azi Hassan
azi.hassan at live.fr
Fri Jul 22 19:23:27 UTC 2022
On Wednesday, 20 July 2022 at 14:11:52 UTC, Dennis wrote:
> On Wednesday, 20 July 2022 at 00:33:06 UTC, Azi Hassan wrote:
>> Where did you find it though ? I checked dmd --help and man
>> dmd before making this thread, but to no avail.
>
> It was implemented as an internal debugging tool, not a
> documented feature: https://github.com/dlang/dmd/pull/6556
>
> It turned out to be useful for users as well though, and got
> exposure through the "AST" button on https://run.dlang.io/
>
> Maybe it's time to document it, currently there's only this:
> https://wiki.dlang.org/DMD_Source_Guide#View_emitted_templates_instances_and_string.2Fmixins
I see, thanks. I'll be sure to check the wiki next time.
More information about the Digitalmars-d-learn
mailing list