On Wed, September 16, 2009 16:32, Akim Demaille wrote:
It would be nice to extend the *.output file with various metrics
about the grammar.
Agreed.
Will add this to TODO.
About this metrics feature: there is a patched bison version
with a metrics option added. it is at "Ambiguity detection in GNU
Bison"
http://www.lsv.ens-cachan.fr/~schmitz/software
there are some test grammars and documentation and cannot
test this feature because the bison-2.3a+ambiguity.tar.bz2
does not compile for some reason.
the source for metrics is in metrics.c
<metrics.c>