On Thursday, 1 August 2013 at 16:55:21 UTC, H. S. Teoh wrote:
Y'know, one feature I've always wanted is the equivalent of
preprocessed
C code -- with all mixins expanded, aliases substituted with
their final
target, templates fully expanded, all syntactic sugar lowered,
with the
original code lines in comments, so that you can see exactly
how your
code was translated, and whether it matches what you *think* it
does.
This would also be invaluable for debugging, as then it will
map to the
assembly code much better, which will help you trace where
things went
wrong.
Considering how useful that sounds, I'm a little surprised this
only has three votes in three years:
http://d.puremagic.com/issues/show_bug.cgi?id=5051
-Wyatt