D source code formatting utility (dformat)

Walter Bright newshound2 at digitalmars.com
Tue Jan 15 19:11:19 PST 2013


On 1/15/2013 4:56 PM, Andrej Mitrovic wrote:
> This isn't such a bad idea considering the amount of work necessary to
> actually parse D code in the first place.


It isn't just the comments. Suppose you have the value in source code:

    0x100

and then in the json code, it's

    256u

This kind of thing is way beyond what json is intended for. json is there to 
extract semantic content, not syntactic.



More information about the Digitalmars-d mailing list