Is anyone working on a D source code formatting tool?

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sun Jan 11 13:31:17 PST 2015


On 1/11/15 1:15 PM, Walter Bright wrote:
> On 1/11/2015 11:50 AM, Andrei Alexandrescu wrote:
>> On 1/11/15 10:48 AM, Walter Bright wrote:
>>> The main problem is what to do about comments, which don't fit into the
>>> grammar.
>> In the first version comments might go through unchanged.
>
> Consider:
>
>      for /*comment*/ (a;
>                       b;
>                       c)
>
> Do what with that?

I don't know. Simplest would be to punt for now - such rare embedded 
comments should not be blockers. -- Andrei



More information about the Digitalmars-d mailing list