On Thu, 14 Dec 2006, Paul Eggert wrote:

> Thanks for proposing that patch.  Some comments:
> 
> Paolo Bonzini <[EMAIL PROTECTED]> writes:
> 
> > +* A new experimental directive %language allows to specify the language
> > +  of the generated parser.  Supported languages are C (the default) and
> > +  C++.  Besides the skeleton that is used, the directive affects
> > +  the names of the generated files if the grammar has extension ".y".
> 
> What's "experimental" about it?  Can we just remove the word
> "experimental" here?

Sorry, Paul.  This was my suggestion.  I feel like %language is rather 
new, and there are a few details we're not sure about.

For example, I think %language would be a nice opportunity to stop using 
.tab in output file names.  (Automake already seems to agree with this.)  
The documentation would say something like: %language implies that file 
name conventions appropriate for the specified language should be used 
instead of Bison's traditional ones.  (Of course, the user can override 
all this with %output, %defines, etc.)


Reply via email to