[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [updated PATCH] %language declaration
From: |
Joel E. Denny |
Subject: |
Re: [updated PATCH] %language declaration |
Date: |
Thu, 14 Dec 2006 14:10:06 -0500 (EST) |
On Thu, 14 Dec 2006, Paul Eggert wrote:
> Thanks for proposing that patch. Some comments:
>
> Paolo Bonzini <address@hidden> 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.)
- Re: [SPAM] Re: [updated PATCH] %language declaration, (continued)
- Re: [SPAM] Re: [updated PATCH] %language declaration, Paul Eggert, 2006/12/13
- Re: [SPAM] Re: [updated PATCH] %language declaration, Paolo Bonzini, 2006/12/13
- Re: [SPAM] Re: [updated PATCH] %language declaration, Joel E. Denny, 2006/12/13
- Re: [SPAM] Re: [updated PATCH] %language declaration, Paul Eggert, 2006/12/13
- Re: [SPAM] Re: [updated PATCH] %language declaration, Paolo Bonzini, 2006/12/13
- Re: [SPAM] Re: [updated PATCH] %language declaration, Joel E. Denny, 2006/12/13
- Re: [SPAM] Re: [updated PATCH] %language declaration, Paolo Bonzini, 2006/12/13
- Re: [SPAM] Re: [SPAM] Re: [updated PATCH] %language declaration, Joel E. Denny, 2006/12/13
- Re: [updated PATCH] %language declaration, Paolo Bonzini, 2006/12/14
- Re: [updated PATCH] %language declaration, Paul Eggert, 2006/12/14
- Re: [updated PATCH] %language declaration,
Joel E. Denny <=
- Re: [updated PATCH] %language declaration, Paul Eggert, 2006/12/14
- Re: [updated PATCH] %language declaration, Joel E. Denny, 2006/12/14
- Re: [updated PATCH] %language declaration, Paul Eggert, 2006/12/15
- Re: [updated PATCH] %language declaration, Joel E. Denny, 2006/12/15
- Re: [updated PATCH] %language declaration, Paolo Bonzini, 2006/12/15
- Re: [updated PATCH] %language declaration, Joel E. Denny, 2006/12/15
- Re: [updated PATCH] %language declaration, Paolo Bonzini, 2006/12/16
- Re: [updated PATCH] %language declaration, Joel E. Denny, 2006/12/16
- Re: [updated PATCH] %language declaration, Paolo Bonzini, 2006/12/17
- Re: [updated PATCH] %language declaration, Joel E. Denny, 2006/12/18