Is anyone working on a D source code formatting tool?

Brian Schott via Digitalmars-d digitalmars-d at puremagic.com
Mon Jan 12 12:05:13 PST 2015


On Monday, 12 January 2015 at 15:30:34 UTC, qznc wrote:
> The clang-format approach is to make decisions based on the 
> AST, but edit the byte array.

dfix uses a similar approach. It uses the AST location 
information to make decisions while iterating through the token 
array. I think I will end up doing the same thing with dfmt.


More information about the Digitalmars-d mailing list