dfmt 0.1.0

Russel Winder via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Tue Mar 3 23:43:35 PST 2015


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?

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-announce/attachments/20150304/3399f7e5/attachment-0001.sig>


More information about the Digitalmars-d-announce mailing list