Re: Parser Generated vs. Hand Written Parsers

Tom Copeland <tom@infoether.com>
28 Sep 2006 22:49:55 -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: Tom Copeland <tom@infoether.com>
Newsgroups: comp.compilers
Date: 28 Sep 2006 22:49:55 -0400
Organization: Compilers Central
References: 06-09-138 06-09-141
Keywords: parse, tools
Posted-Date: 28 Sep 2006 22:49:55 EDT

On Tue, 2006-09-26 at 01:07 -0400, Scott Nicol wrote:
> PGs also help in detecting ambiguities in a
> grammar.


PGs also let you generate a parser with lots of debugging info in it,
and once you've fixed any problems you can regenerate the parser
without all that noise.


Another advantage (for JavaCC, at least) is that you can generate a
parser that targets a particular language version. For Java, this
means being able to generate a parser that uses generics internally if
you're running in JDK 1.5.


Yours,


Tom



Post a followup to this message

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