Is anyone working on a D source code formatting tool?

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sun Jan 11 16:58:35 PST 2015


On 1/11/15 4:37 PM, Walter Bright wrote:
> On 1/11/2015 1:31 PM, Andrei Alexandrescu wrote:
>> 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
>>
>
> Normally I would agree, but deleting peoples' comments from their source
> code is not a good plan. It'll make them justifiably angry.

By punt i mean leave as is. -- Andrei


More information about the Digitalmars-d mailing list