[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: push parser

From: Joel E. Denny
Subject: Re: push parser
Date: Wed, 27 Dec 2006 09:58:51 -0500 (EST)

On Wed, 27 Dec 2006, Bob Rossi wrote:

> On Tue, Dec 26, 2006 at 07:09:20PM -0500, Joel E. Denny wrote:
> > On Tue, 26 Dec 2006, Bob Rossi wrote:
> > 
> > > What's left to do here? Do you have a list of things?
> > 
> > 1. For yacc.c, you can invoke yyparse multiple times.  For push.c's push 
> > mode, I haven't thought this through.  I guess yypush_parse should set 
> > yyps->yynew = 1 whenever it returns with a parse error or success.
> > 
> > 2. The push parser needs to be documented in the manual.
> > 
> > 3. We should add some test cases that exercise yypush_parse better than 
> > just a while loop that behaves like yyparse.
> I'd be happy to help or do any of these tasks, which would you prefer I
> start with?

At the moment, I'd like to settle the %push-pull-parser issue, which my 
recent patch addresses.  If you have no preference in that regard, that's 
fine, buy maybe Paul has an opinion.  In any case, I shouldn't make that 
decision by myself.

In the meantime, I think we should stay away from #1 just to avoid 
conflicts.  However, feel free to work on #2, but understand that the 
%push-pull-parser stuff is still evolving.  For #3, do you have any use 
cases from your own work that could be converted to test cases?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]