Re: bison info doc - precedence in recursive parsing

2019-02-10 Thread Akim Demaille
> Le 10 févr. 2019 à 00:12, Hans Åberg a écrit : > > >> On 4 Feb 2019, at 07:32, Akim Demaille 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). > >

Re: bison info doc - precedence in recursive parsing

2019-02-10 Thread Hans Åberg
> On 5 Feb 2019, at 07:18, Akim Demaille wrote: > > This feature is very handy for small grammars, but when it gets too big, > you'd better look at the HTML report (or text). I made a graph for the grammar itself, using the shape=record feature, for the calc++ example. Might be of help when

Re: bison info doc - precedence in recursive parsing

2019-02-10 Thread Hans Åberg
> On 10 Feb 2019, at 11:07, Akim Demaille wrote: > >> Le 10 févr. 2019 à 00:12, Hans Åberg a écrit : >> >>> On 4 Feb 2019, at 07:32, Akim Demaille wrote: >>> >>> Make a full example, feed it to bison with --graph, and look at the >>> resulting graph. You should understand what is going on