This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ANSIfy cp/parser.c
Neil Booth <neil@daikokuya.co.uk> writes:
[ ... many things I generally agree with...]
| o Create a re-entrant recursive descent parser that looks somewhat
| like cp/parser.c, in gcc/parser.c.
Please, if you're going to "lift" the C front-end, please, first do
move the C front-end bits in a separate directory; just like
other front-ends. That would improve a bit the organization of the
files iin gcc/.
| o Have it generate a simple, high-level C IR (with real types, not the
| "everything is a tree" paradigm)
Yeah, the topic of going away from the "everything is a tree" paradigm
has been sporadically mentioned, but there seems to be no much thought
on it...
-- Gaby