This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bison patch to help gcc?


Zack Weinberg <zack at codesourcery dot com> writes:

> My understanding is that the basic issue is that GCC's extended C has
> a grammar which is not LALR(1).

Bison currently generates GLR parsers too, which should be enough to
handle any weird constructs that the C and C++ language designers can
think of.

Also, we are planning to add LL(k) support.  It sounds like you might
prefer LL(k), since you like ANTLR; perhaps we should bump its
priority.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]