[Top][All Lists]

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

Re: Name/description of the grammar

From: Akim Demaille
Subject: Re: Name/description of the grammar
Date: Wed, 14 Nov 2007 21:18:06 +0100

Le 14 nov. 07 à 18:28, Wojciech Polak a écrit :

On 2007-11-14 at 15:01 +0100, Akim Demaille wrote:

It might be silly, but reading the HTML output, it strikes me that we
should give a means to name and describe the parser.  Something that
would allow something better than "GNU Bison XML Automaton Report".
Or at least include the name of the file itself? "GNU Bison XML
Automaton Report for parse-gram.y"? It could also be used for Doxygen
comments in the generated files.

We do have the <filename> element inside <bison-xml-report>
and also the following rule in xml2xhtml.xsl:

<xsl:template match="bison-xml-report">
 <h1>GNU Bison XML Automaton Report</h1>
input grammar: <span class="i"><xsl:value-of select="filename"/></ span>

which produces "input grammar: foo.y" at the top of the HTML document.

Yep, I've seen that, and that's when I felt a name would be better.
I'm saying two things actually: I believe having a name and description
would be nice, and I believe the title of the HTML page should
mention the name, or at least the file name.

reply via email to

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