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]

[patch 0/8] gengtype parser rewrite


This patch series replaces gengtype's yacc parser with a hand-written
recursive descent parser, and accomplishes some related cleanups, e.g.
having it read its set of input files from a file instead of compiling
them in.  Originally I had intended to replace the lexer too -- with
cpplib, thus giving it macro support and eliminating many kludges.
However, I do not have time to do that (this patch series has been
moldering on my computer for about a year now) and I think these
changes are worthwhile on their own.  I'll send another message
describing where we might go from here.

Patches have been collectively tested on amd64-linux, all languages
including ada and treelang.

zw


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