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.

Personally I would rather see it as a separate tool.

D already gets a bit of bad publicity for having the compiler do too much stuff
that should be relegated to separate tools.

This is again another use case that would benefit from the "compiler as library".

Reply via email to