Idea for a new tool

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 14 15:53:22 PDT 2016


On 10/14/2016 12:26 PM, Dicebot wrote:
> On 10/14/2016 06:01 PM, Chris Wright wrote:
>> On Fri, 14 Oct 2016 09:13:16 -0400, Andrei Alexandrescu wrote:
>>
>>> https://issues.dlang.org/show_bug.cgi?id=5051 -- Andrei
>>
>> For the love of potatoes, please take a few seconds to tell us the gist
>> of it here.
>>
>> The requested tool is a preprocessor, of sorts: evaluate version
>> statements and mixins and expand templates. That lets you see what's
>> going on in your code a bit better in the case of extensive
>> metaprogramming.
>
> This wouldn't be a pre-processor in C/C++ sense because it requires full
> semantic analysis to work. More like a special mode of compilation.

Yep - a "lowerer" :o). -- Andrei



More information about the Digitalmars-d mailing list