On Friday, 14 October 2016 at 13:17:39 UTC, Andrei Alexandrescu
wrote:
s/Sadly/Fortunately because now we have smart graduate students
looking for cool projects/
...like reimplementing the whole DMDFE for nothing. this tool
would be useless without full-featured template and CTFE support
(as most mixins comes from there), so say "hello" to template
engine, semantic analyser, and CTFE engine (wow!). and then
you'll probably won't get valid D code again, 'cause for CTFE it
is easier to lower it to "impossible" AST (like current DMDFE
does).
btw, it's not hard to print resulting AST in dmd, but at this
stage it is not valid D code -- and for a reason.