This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: bison patch to help gcc?
- From: Paul Eggert <eggert at CS dot UCLA dot EDU>
- To: Tim Josling <tej at melbpc dot org dot au>
- Cc: bison-patches at gnu dot org, zack at codesourcery dot com, gcc-patches at gcc dot gnu dot org
- Date: 26 Mar 2003 22:09:59 -0800
- Subject: Re: bison patch to help gcc?
- References: <3E8204B0.2070503@melbpc.org.au>
Tim Josling <tej at melbpc dot org dot au> writes:
> If this patch concept is acceptable I will create, document and test a
> patch for inclusion in bison. Otherwise please let me know and I will
> try and find another way.
That idea looks good to me.
Neil Booth <neil at daikokuya dot co dot uk> writes:
> Our actions are currently cack-handed, a large part of it working
> around bison issues.
Is there a good summary somewhere of why most of the problems in the
GCC parser's actions are due to Bison?
Bison can't compete with hand-crafted code in terms of performance.
Its main advantage over hand-crafted code should be reliability and
ease of maintenance. If it doesn't provide that, there's something
wrong.