dfmt 0.1.0

Dicebot via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Mar 4 06:21:15 PST 2015


On Wednesday, 4 March 2015 at 07:43:44 UTC, Russel Winder wrote:
> On Tue, 2015-03-03 at 23:03 +0000, Brian Schott via 
> Digitalmars-d-announce wrote:
>> 
> […]
>> dfmt works by re-using my existing lexer and parser. The 
>> parser  is run on the code first so that the formatting step 
>> knows a few  things like the difference between the binary and 
>> unary forms of  "*". Line splitting is figured out using a 
>> badly mangled version  of A*.
>
> Does this mean dfmt uses the same parser as the D D compiler?

No. https://github.com/Hackerpilot/libdparse


More information about the Digitalmars-d-announce mailing list