std.data.json formal review
Dmitry Olshansky via Digitalmars-d
digitalmars-d at puremagic.com
Fri Aug 14 07:00:36 PDT 2015
On 14-Aug-2015 11:04, Walter Bright wrote:
> On 8/13/2015 11:54 PM, Dmitry Olshansky wrote:
>> On 14-Aug-2015 03:48, Walter Bright wrote:
>>> On 8/13/2015 5:18 PM, Adam D. Ruppe wrote:
>>>> On Thursday, 13 August 2015 at 03:44:14 UTC, Walter Bright wrote:
>>>>> Hah, I'd like to replace dmd.conf with a .json file.
>>>>
>>>> There's an awful lot of people out there replacing json with more
>>>> ini-like
>>>> files....
>>>
>>> We've currently invented our own, rather stupid and limited, format.
>>> There's no point to it over .json.
>>
>> YAML is (plus/minus braces) the same but supports comments and is
>> increasingly
>> popular for hierarchical configuration files.
>
> Yes, but we (will) have a .json parser in Phobos.
>
We actually have YAML parser in DUB repository plus so that can be
copied over to the compiler source interim. And doesn't have to be
particularly fast it just have to work resonably well.
--
Dmitry Olshansky
More information about the Digitalmars-d
mailing list