[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: graph: prefer *.gv to *.dot (was: bison info doc - precedence in rec
From: |
Hans Åberg |
Subject: |
Re: graph: prefer *.gv to *.dot (was: bison info doc - precedence in recursive parsing) |
Date: |
Tue, 19 Feb 2019 22:31:51 +0100 |
> On 19 Feb 2019, at 19:35, Akim Demaille <address@hidden> wrote:
>
>> Le 17 févr. 2019 à 16:19, Akim Demaille <address@hidden> a écrit :
>>
>>> Le 10 févr. 2019 à 15:20, Hans Åberg <address@hidden> a écrit :
>>>
>>>> On 10 Feb 2019, at 11:07, Akim Demaille <address@hidden> wrote:
>>>>
>>>> [*.dot vs. *.gv]
>>>> But it's too late to change the default behavior.
>>>
>>> You might change it, as it is not usable on real life grammars.
>>
>> You have a point :)
>>
>> But it does not mean it will not break something for someone.
>> Maybe bound to %require "3.4", why not.
>
> Here is my proposal. Maybe at some point we should change the default for
> grammars without %require from *.dot to *.gv. Versions with a %require
> before 3.4 would still produce *.dot.
>
> +** Changes
> +
> + In conformance with the recommendations of the GraphViz team, if %require
> + "3.4" (or better) is specified, the option --graph generates a *.gv file
> + by default, instead of *.dot.
If %require is not present in 3.4, then you might generate a .gv file: It would
be like the hidden g++ hidden -std that changes with version, so there is a
precedent.