Related articles |
---|
[4 earlier articles] |
Re: Compiler Books? Parsers? henry@spsystems.net (2003-11-02) |
Re: Compiler Books? Parsers? henry@spsystems.net (2003-11-08) |
Re: Compiler Books? Parsers? Jeffrey.Kenton@comcast.net (Jeff Kenton) (2003-11-21) |
Re: Compiler Books? Parsers? cfc@shell01.TheWorld.com (Chris F Clark) (2003-12-03) |
Re: Compiler Books? Parsers? rbates@southwind.net (Rodney M. Bates) (2003-12-08) |
Re: Compiler Books? Parsers? nick.roberts@acm.org (Nick Roberts) (2003-12-08) |
Re: Compiler Books? Parsers? marcov@stack.nl (Marco van de Voort) (2003-12-20) |
Re: Compiler Books? Parsers? cfc@world.std.com (Chris F Clark) (2003-12-21) |
Re: Compiler Books? Parsers? cdc@maxnet.co.nz (Carl Cerecke) (2003-12-23) |
Re: errors in Java programs, was Compiler Books? Parsers? joachim.durchholz@web.de (Joachim Durchholz) (2003-12-27) |
Re: Compiler Books? Parsers? cfc@shell01.TheWorld.com (Chris F Clark) (2003-12-27) |
Re: Compiler Books? Parsers? oliver@zeigermann.de (Oliver Zeigermann) (2004-01-02) |
Re: Compiler Books? Parsers? cyber_nerdz@hotmail.com (Mark Sayers) (2004-01-07) |
[2 later articles] |
From: | Marco van de Voort <marcov@stack.nl> |
Newsgroups: | comp.compilers |
Date: | 20 Dec 2003 11:51:37 -0500 |
Organization: | Eindhoven University of Technology, The Netherlands |
References: | 03-10-113 03-10-145 03-11-010 03-11-083 03-12-017 |
Keywords: | parse, practice |
Posted-Date: | 20 Dec 2003 11:51:37 EST |
On 2003-12-04, Chris F Clark <cfc@shell01.TheWorld.com> wrote:
>
> This is trivially true, if one considers the fact that one can take the
> output of any given tool and then profile and modify it so that the
> resulting hand-written tool is faster.
>
> However, in contrast, if someone figures out how to write a faster
> output for a specific tool, you may have to rearchitect your
> hand-tweaked to take advantage of those improvements. Note, that
> that doesn't happen very often (in 15 years of working on a tool,
> there were approximately 4 times where we specifically worked on
> speeding the generated parsers up).
Interesting, if the main reason to chose handcoded tools is speed.
What if it was quality of error generation? Could you argue your case if
my primary objective was error generation?
> (and even there certain lexical errors typically destroy the
> parsers ability to recover). They do not do a good job at
> generating parsers that can pick fragments of correct code out of a
> sea of garbage, nor any other tasks they weren't designed to do.
> But, note that some parser generators (e.g. Quinn Tyler Jackson's
> meta-S) are now beginning to support a grep-mode, which may solve
> that problem.
I don't mind as much. Simply issueing an error for "strange" output is
enough. What if I'm more interested in the viewpoint of a user to fix
bad programs (to be parsed by my parser), what would you do?
Return to the
comp.compilers page.
Search the
comp.compilers archives again.