Is anyone working on a D source code formatting tool?

Shammah Chancellor via Digitalmars-d digitalmars-d at puremagic.com
Mon Jan 12 07:20:24 PST 2015


On 2015-01-12 03:23:28 +0000, deadalnix said:

> On Saturday, 10 January 2015 at 20:18:03 UTC, Walter Bright wrote:
>> Has someone made a dfmt, like http://gofmt.com/ ?
> 
> That is amongst the plans for libd. I'd be happy to support anyone that 
> want to work on it :)

This is part of the reason I wanted to de-couple libd's parsing from 
with libd-llvm can currently handle and have separate tests for that 
libd.

Is this something we might be able to consider doing?  We can easily 
have some code and do Code->ast->fmt Code->ast as tests for libd.

-Shammah



More information about the Digitalmars-d mailing list