Expanding CTFE code during compilation
Dennis
dkorpel at gmail.com
Wed Jul 20 14:11:52 UTC 2022
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
More information about the Digitalmars-d-learn
mailing list