D source code formatting utility (dformat)

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Jan 15 18:54:03 PST 2013


On 1/15/13 7:56 PM, Andrej Mitrovic wrote:
> On 1/16/13, Walter Bright<newshound2 at digitalmars.com>  wrote:
>> On 1/15/2013 4:45 PM, Andrei Alexandrescu wrote:
>>> What about just using the json output?
>>
>> It'd lose all the comments.
>
> Json could output comments if we wanted to.
>
> This isn't such a bad idea considering the amount of work necessary to
> actually parse D code in the first place.

Agreed. Generally we should standardize tooling on json, regardless of 
the notion that indeed a parser is good in the library. Walter?

Andrei


More information about the Digitalmars-d mailing list