On Saturday, 10 January 2015 at 22:11:55 UTC, Walter Bright wrote:
On 1/10/2015 12:17 PM, Walter Bright wrote:
Has someone made a dfmt, like http://gofmt.com/ ?

Next question - standalone tool, or built in to dmd (like Ddoc)?

My only concern about it is if dfmt is changed, then we get faced with a blizzard of changes in the D github repositories.

Build it into DMD with an option to change files in place or dump them to stdout. I do think though, this would require a pragma or a special comment to disable it for parts of code. There will always be the case where the standard is wrong.

Reply via email to