Idea for a new tool

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 14 09:26:11 PDT 2016


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20161014/8846f0e6/attachment.sig>


More information about the Digitalmars-d mailing list