[Top][All Lists]

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

Re: push parser

From: Bob Rossi
Subject: Re: push parser
Date: Tue, 7 Feb 2006 20:45:19 -0500
User-agent: Mutt/1.5.9i

On Tue, Feb 07, 2006 at 04:13:38PM -0800, Paul Eggert wrote:
> Bob Rossi <address@hidden> writes:
> > I'm interested in added support for bison to act asynchronously.
> Odd Arild Olsen has contributed some push parser support; see
> <>
> and <>.  This won't go in until after 2.2
> comes out, unfortunately.  And it will probably require some hacking
> to bring it up to date.

Yes, Odd has already signed the paper work necessary for me to look at
and use his patch as the basis for the work.

I've been in contact with him, and get advice where I can. The problem
is, he has a completely different skeleton. I'm not sure that this would
be acceptable. Would it? This is the fundamental question I have in
regards to starting my work. Akim suggested I should start with yacc.c
and work towards something that Odd had. What do you think?
The problem is, a push parser will not work unless a pure reentrant parser 
is being used.

I have no intention of getting this patch into any particular release.
Basically, I'm righting a library that communicates with GDB. The
problem is that the data I get comes in over a stream. For obvious
reasons, I need an asynchronous parser. I couldn't think of a better
reason to spend some time hacking on bison, since I'm sure this
feature would be useful to many people.

Bob Rossi

reply via email to

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