Is anyone working on a D source code formatting tool?
deadalnix via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jan 12 11:19:07 PST 2015
On Monday, 12 January 2015 at 15:20:24 UTC, Shammah Chancellor
wrote:
> 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
The lexer/parser can be used without the semantic analysis part.
It should be alright for now.
More information about the Digitalmars-d
mailing list