std.conv.parse too finicky?

Chris wendlec at tcd.ie
Wed Jan 2 09:21:46 PST 2013


On Wednesday, 2 January 2013 at 17:06:50 UTC, bearophile wrote:
> Chris:
>
>> Couldn't the parser infer from string[string] that the 
>> key:value pairs should be treated as strings, regardless of 
>> whether they are quoted or not?
>
> That parser is meant to be used to de-serialize simple D data 
> structures printed (serialized) with writeln.
>
> Bye,
> bearophile

I see. Then it makes perfect sense. It would be nice, though, if 
it were more tolerant so that it could cater for other uses 
(human readable property files etc etc).



More information about the Digitalmars-d mailing list