Compiling -- gcc -- Lex & Yacc
Kevin Kofler
kevin.kofler at chello.at
Tue Jul 22 17:45:48 UTC 2008
William Case <billlinux <at> rogers.com> writes:
> Where can I find/see which preprocessor, lexical analysiser, parser etc.
> the gcc compliler is using in Fedora?
The C and C++ frontends in current GCC use handwritten lexers and parsers. The
lexer is closely integrated with the preprocessor. Previous versions of GCC
used Bison (also with handwritten lexers), the Bison parser for C++ was
replaced with a handwritten recursive descent parser in GCC 3.4, for C it
happened in 4.1.
Kevin Kofler
More information about the fedora-list
mailing list