dmd json file output

Walter Bright newshound2 at digitalmars.com
Tue Jan 22 21:45:32 PST 2013


On 1/22/2013 9:42 PM, Andrei Alexandrescu wrote:
> On 1/22/13 3:36 PM, Walter Bright wrote:
>> On 1/22/2013 11:46 AM, Andrei Alexandrescu wrote:
>>> On 1/22/13 2:48 AM, Walter Bright wrote:
>>>> On 1/21/2013 10:56 PM, ric wrote:
>>>>> Would it be reasonable to put an option whether to produce the (too)
>>>>> verbose
>>>>> json output or the minimal one?
>>>>
>>>> I'd rather we make a decision.
>>>
>>> Verbose should probably be it.
>>
>> Rationale?
>
> You can always filter out the verboseness with a simple program, but you can't
> add missing information.
>
> If the efficiency of generating json ever comes up, _then_ it's worth looking
> into an option that produces less verbose output directly. For now be verbose
> and let downstream tools filter it out.

Using the deco string is not missing information - and it's easier to parse it 
and manipulate it.



More information about the Digitalmars-d mailing list