Which patches/mods exists for current versions of the DMD parser?

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Tue Sep 9 04:00:59 PDT 2014


On Tue, 09 Sep 2014 10:04:46 +0000
Joakim via Digitalmars-d <digitalmars-d at puremagic.com> wrote:

> Perhaps the same is possible for syntax to a 
> large extent, ie you download D source and your editor 
> automatically runs it through a syntax translator so that you see 
> the syntax you prefer.
i'm planning to write such tool using Dparser (if it can power DCD and
Dscanner, i'm sure it can power this tool too). this way i can use "my
own shiny D dialect" to write my code and simply convert it to
"mainline D" before sending to anyone else.

and in the end i can found that i'm not using my synactic sugar that
much, for example. ;-)

btw: i'll investigate hdrgen feature soon. i believe that it can be
used as a base to build full-blown pretty-printer, maybe even with
simple configs.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20140909/31990899/attachment.sig>


More information about the Digitalmars-d mailing list