This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Is GCC still use bison or yacc?
- From: Joe Buck <jbuck at synopsys dot com>
- To: Albert Wang <alrrr at sina dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 1 May 2003 09:20:44 -0700
- Subject: Re: Is GCC still use bison or yacc?
- References: <002901c30fa6$f293b4e0$b6526fa6@wangwei>
On Thu, May 01, 2003 at 02:00:16PM +0800, Albert Wang wrote:
> I know that gcc use yacc to parse c programs.
> But now, someone told me the it had been ejected, and
> Now gcc use some kind of top-down method.
All released gcc versions use bison-generated parsers. Starting with
release 3.4, gcc will use a hand-written recursive descent parser for
C++, but will still use a bison parser for C.