[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bison info doc - precedence in recursive parsing
From: |
Hans Åberg |
Subject: |
Re: bison info doc - precedence in recursive parsing |
Date: |
Sun, 10 Feb 2019 15:20:58 +0100 |
> On 10 Feb 2019, at 11:07, Akim Demaille <address@hidden> wrote:
>
>> Le 10 févr. 2019 à 00:12, Hans Åberg <address@hidden> a écrit :
>>
>>> On 4 Feb 2019, at 07:32, Akim Demaille <address@hidden> wrote:
>>>
>>> Make a full example, feed it to bison with --graph, and look at the
>>> resulting graph. You should understand what is going on (provided you
>>> understand how LR parsers work).
>>
>> According to [1], .gv is preferred as .dot can be confused with another
>> format (for example, Xcode does).
>>
>> 1. https://en.wikipedia.org/wiki/DOT_(graph_description_language)
>
> Yes, I know, and that's what I do, as you have noticed in the Makefile.
>
> %.c %.h %.xml %.gv: %.y
> $(BISON) $(BISONFLAGS) --defines --xml --graph=$*.gv -o $*.c $<
>
> But it's too late to change the default behavior.
You might change it, as it is not usable on real life grammars.
- Re: bison info doc - precedence in recursive parsing, (continued)
- Re: bison info doc - precedence in recursive parsing, Hans Åberg, 2019/02/04
- Re: bison info doc - precedence in recursive parsing, Akim Demaille, 2019/02/05
- Re: bison info doc - precedence in recursive parsing, Hans Åberg, 2019/02/05
- Re: bison info doc - precedence in recursive parsing, Akim Demaille, 2019/02/05
- Re: bison info doc - precedence in recursive parsing, Hans Åberg, 2019/02/05
- Re: bison info doc - precedence in recursive parsing, Hans Åberg, 2019/02/10
- Re: bison info doc - precedence in recursive parsing, Akim Demaille, 2019/02/17
- Re: bison info doc - precedence in recursive parsing, Hans Åberg, 2019/02/17
Re: bison info doc - precedence in recursive parsing, Hans Åberg, 2019/02/09
- Re: bison info doc - precedence in recursive parsing, Akim Demaille, 2019/02/10
- Re: bison info doc - precedence in recursive parsing,
Hans Åberg <=
- Re: bison info doc - precedence in recursive parsing, Akim Demaille, 2019/02/17
- Re: bison info doc - precedence in recursive parsing, Hans Åberg, 2019/02/17
- Re: bison info doc - precedence in recursive parsing, Akim Demaille, 2019/02/18
- Re: bison info doc - precedence in recursive parsing, Hans Åberg, 2019/02/18
graph: prefer *.gv to *.dot (was: bison info doc - precedence in recursive parsing), Akim Demaille, 2019/02/19
RE: Re: bison info doc - precedence in recursive parsing, anand, 2019/02/14