This is the mail archive of the gcc-help@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] |
charfi asma <charfiasma@yahoo.fr> 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 Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |