[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: too many warnings from Bison CVS for Pike
From: |
Joel E. Denny |
Subject: |
Re: too many warnings from Bison CVS for Pike |
Date: |
Thu, 2 Mar 2006 16:07:42 -0500 (EST) |
On Wed, 1 Mar 2006, Paul Eggert wrote:
> How about if we support something like this:
>
> bison_spec: definition_section rules_section user_subroutines {$%};
>
> where "$%" expands to all the "$$ = new...;" stuff. That's more
> concise yet.
Tree building was just an example semantic action... and not the best
example for showing off the usefulness of named semantic values. It seems
like a separate feature to me.
> Obviously this is just a sketch and more detail would
> need to be added, but I hope you get the idea.
I wonder if some sort of semantic action template language would be more
generally useful than support specifically for tree building.
Joel