Related articles |
---|
C++ parsing : what's new ? gahide@ensm-douai.fr (Patrice Gahide) (2001-12-20) |
Re: C++ parsing : what's new ? idbaxter@semdesigns.com (Ira D. Baxter) (2001-12-22) |
Re: C++ parsing : what's new ? loewis@informatik.hu-berlin.de (Martin von Loewis) (2001-12-22) |
Re: C++ parsing : what's new ? tnixon@avalanchesoftware.com (Travis Nixon) (2001-12-29) |
Re: C++ parsing : what's new ? pfroehli@ics.uci.edu (Peter H. Froehlich) (2001-12-29) |
Re: C++ parsing : what's new ? gwyn@thislove.dyndns.org (2002-01-03) |
Re: C++ parsing : what's new ? dr_feriozi@prodigy.net (SLK Parsing) (2002-01-03) |
Re: C++ parsing : what's new ? zackw@panix.com (Zack Weinberg) (2002-01-04) |
Re: C++ parsing : what's new ? mrak@hons.cs.usyd.edu.au (2002-01-04) |
Re: C++ parsing : what's new ? RLWatkins@CompuServe.Com (R. L. Watkins) (2002-01-05) |
Re: C++ parsing : what's new ? thp@cs.ucr.edu (2002-01-28) |
From: | gwyn@thislove.dyndns.org (Gwyn Judd) |
Newsgroups: | comp.compilers |
Date: | 3 Jan 2002 15:38:49 -0500 |
Organization: | Xtra |
References: | 01-12-179 |
Keywords: | C++, parse |
Posted-Date: | 03 Jan 2002 15:38:49 EST |
"Mein Lufkissenfahrzeug ist voller Aale"
said Peter H. Froehlich (pfroehli@ics.uci.edu) in
>On Saturday, December 29, 2001, at 10:30 , Travis Nixon wrote:
>
>> "Martin von Loewis" <loewis@informatik.hu-berlin.de> wrote in message
>>> The gcc grammar is currently being rewritten, from a bison-based one
>>> to a hand-written recursive-descent parser.
>>
>> Is there a discussion online anywhere about the reasons for doing
>> this?
>
>As I recall the motivation is performance. The people doing the
>rewrite expect the recursive descent parser to be way faster than
>the table-driven one they have now. However, I sure would *not*
>want to write a parser like that for a grammar as hairy as
>C/C++. :-)
I hear a lot of people giving opinions like this but I wonder how much
experience they have had in creating recursive descent parsers. Having
done one for my final project for my degree I can say it's not really as
difficult as you might think.
--
Gwyn Judd (print `echo 'tjla@guvfybir.qlaqaf.bet' | rot13`)
Return to the
comp.compilers page.
Search the
comp.compilers archives again.