This is the mail archive of the
mailing list for the GCC project.
Re: New C parser [patch]
Stan Shebs <firstname.lastname@example.org> writes:
| Joseph S. Myers wrote:
| >On Mon, 25 Oct 2004, Ziemowit Laski wrote:
| >>I'm just curious as to why you think that writing a C parser from scratch is
| >>easier than tweaking Mark's parser to handle C.
| > You have an interesting definition of "tweaking". Geoffrey Keating
| > gave an estimate of 6-9 man-years to merge the front ends making
| > them handle the present languages as fast as at present. This
| > compares to 1 man-week to write a functional C parser for the exact
| > present language accepted which also speeds up the compiler despite
| > not having been profiled or tuned for performance at all.
| To be fair though, Geoff's estimate accounted for merging a lot
| of the semantic processing that continues to be semi-clones of
| each other, and continues to cause performance problems that have
| to be solved twice.
What are the basis of Geoff's estimates?