bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] gram.c: Print tokens in grammar_dump


From: Akim Demaille
Subject: Re: [patch] gram.c: Print tokens in grammar_dump
Date: Thu, 24 Oct 2019 18:11:53 +0200

Hi Kaneko,

(is this the right way to (first) name you?)

> Le 23 oct. 2019 à 16:08, kaneko y <address@hidden> a écrit :
> 
> I feel it's helpful to print Tokens in grammar_dump likewise Variables
> in grammar_dump.

Which is really an output for developers.  Are you toying with Bison currently?

> How do you think about it?

Instead of having two paragraphs, I'd say that a single one with all the 
symbols suffices.  But if we keep two paragraphs:
- then eliminate precedence and associativity for nonterminals, AFAICT, it 
makes no sense
- make sure to underline "Tokens" by the correct number of dashes
- rename "Variables" as "non terminals", since that's really the name we use
- write a test where prec and assis are actually used.


Eventually, if you are willing to contribute, you'll have to sign the FSF's 
disclaimers.  Will you agree?

Cheers!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]