Re: Parser Generated vs. Hand Written Parsers

"VergissMeinNicht" <spamers.sollen.sterben@cablenet.de>
28 Sep 2006 22:52:25 -0400

          From comp.compilers

Related articles
[2 earlier articles]
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: "VergissMeinNicht" <spamers.sollen.sterben@cablenet.de>
Newsgroups: comp.compilers
Date: 28 Sep 2006 22:52:25 -0400
Organization: Compilers Central
References: 06-09-138
Keywords: parse, practice
Posted-Date: 28 Sep 2006 22:52:24 EDT

          Hi Sam,


To generate a parser You must have a very exact grammar. It is not
allways available. For example every grammar for Delphi I found in NET
is incomplete and/or erroneous. For example the preprocessor
directives aren't described. So I made my Delphi-parser manually
testing it on several projects. So I discovered hundreds of errors in
the grammar which I used initially.


Good look


Ivan


"moopT" <samhng@gmail.com> schrieb im Newsbeitrag
> 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!


Post a followup to this message

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