Re: Re : gcc analyze tools

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



charfi asma <charfiasma@xxxxxxxx> writes:

> However, have you any idea why gcc uses now hand written lexer and parsers ? 
> what's wrong with lexer/ parser generated from flex/ bison ?

The C and C++ languages are not LALR(1), and as such are not suitable
for parsing by bison.  The old bison parsers were hard to read, hard to
modify, and, at least for C++, not wholly correct.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux