dfmt 0.1.0

Russel Winder via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Thu Mar 5 01:02:00 PST 2015


On Wed, 2015-03-04 at 21:22 +0000, Brian Schott via Digitalmars-d-announce wrote:
> […]
> 
> That means that the Emacs plugin needs to start it automatically.

Is this something on your todo list, or do you need a pull request?

> Implementing a separate parser based on the language spec has  
> helped to find problems with the language spec. Having "One True  
> Implementation" can lead to problems as well.
> 
> https://issues.dlang.org/show_bug.cgi?id=10233

I just wonder if it is wise to have a single two chain with two 
distinct parsers which have separate lifecycles?

> > (*) The exception is of course Phobos style which I find so 
> > annoying I
> > can't read code formatted that way.
> 
> By default dfmt tries to output Phobos style code. There is an  
> option to use a different brace style and another one to use tabs.

Since using Go and working on a couple of fairly old C++ codebases, 
all of which use tab for indent, I have come to rather like it.

-- 
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/20150305/ac45990e/attachment.sig>


More information about the Digitalmars-d-announce mailing list