dfmt - D source code formatter

Paulo Pinto pjmlp at progtools.org
Thu Jul 5 02:11:28 PDT 2012


On Thursday, 5 July 2012 at 06:27:55 UTC, Walter Bright wrote:
> On 7/4/2012 10:22 PM, Jonathan M Davis wrote:
>> On Wednesday, July 04, 2012 21:46:29 Walter Bright wrote:
>>> It would be nice to have a D source code formatter. But it 
>>> needs a champion.
>>> Who's up for it?
>>
>> Doesn't that need a lexer and parser for D first (which I'd 
>> _love_ to do but
>> just haven't had time to get around to)?
>
> Yes.
>
> Or it could be written based on the .di generation logic, i.e. 
> as part of dmd.


Somehow my reply seems to have been lost.

I find it nice, but would rather see it as a separate tool.

This are the type of projects that would benefit from having the 
compiler available as library.

--
Paulo


More information about the Digitalmars-d mailing list