Re: Parser Generated vs. Hand Written Parsers

Ranjit Mathew <rmathew@gmail.com>
28 Sep 2006 22:50:36 -0400

          From comp.compilers

Related articles
Parser Generated vs. Hand Written Parsers samhng@gmail.com (=?iso-8859-1?B?bW9vcJk=?=) (2006-09-25)
Re: Parser Generated vs. Hand Written Parsers DrDiettrich1@aol.com (Hans-Peter Diettrich) (2006-09-26)
Re: Parser Generated vs. Hand Written Parsers snicol@apk.net (Scott Nicol) (2006-09-26)
Re: Parser Generated vs. Hand Written Parsers DrDiettrich1@aol.com (Hans-Peter Diettrich) (2006-09-26)
Re: Parser Generated vs. Hand Written Parsers tom@infoether.com (Tom Copeland) (2006-09-28)
Re: Parser Generated vs. Hand Written Parsers napi@axiomsol.com (napi) (2006-09-28)
Re: Parser Generated vs. Hand Written Parsers rmathew@gmail.com (Ranjit Mathew) (2006-09-28)
Re: Parser Generated vs. Hand Written Parsers martin_filteau@yahoo.ca (Martin Filteau) (2006-09-28)
Re: Parser Generated vs. Hand Written Parsers spamers.sollen.sterben@cablenet.de (VergissMeinNicht) (2006-09-28)
| List of all articles for this month |
From: Ranjit Mathew <rmathew@gmail.com>
Newsgroups: comp.compilers
Date: 28 Sep 2006 22:50:36 -0400
Organization: Compilers Central
References: 06-09-138
Keywords: parse, GCC
Posted-Date: 28 Sep 2006 22:50:36 EDT

> PGs have a great convenince over hand written parsers, but they also
> slow in speed and hard to read the generated code. I wonder besides
> these two obvious factors, what else hand written parsers are better
> than PGs? Thank you!


Despite the proclaimed benefits in this thread of a tool-generated
parser over a hand-crafted parser, the GCC hackers seem inclined to
move towards hand-crafted parsers. Both the C++ and the C front-ends
were converted to use hand-crafted parsers in recent times. The
following messages provide some of the reasons:


    http://gcc.gnu.org/ml/gcc/2000-10/msg00573.html
    http://gcc.gnu.org/ml/gcc/2000-10/msg00574.html


Thanks,
Ranjit.


- --
Ranjit Mathew Email: rmathew AT gmail DOT com


Bangalore, INDIA. Web: http://rmathew.com/


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.