[Top][All Lists]

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

Re: push parser implemenation

From: Frans Englich
Subject: Re: push parser implemenation
Date: Wed, 5 Apr 2006 14:05:07 +0000
User-agent: KMail/1.8.50

On Wednesday 05 April 2006 13:15, Bob Rossi wrote:
> On Wed, Apr 05, 2006 at 12:04:11PM +0000, Frans Englich wrote:
> > On Wednesday 05 April 2006 11:31, Bob Rossi wrote:
> > > On Wed, Apr 05, 2006 at 09:35:46AM +0000, Frans Englich wrote:

> > That surely sounds interesting to me as well; I'm writing
> > XQuery/XSL-T/XPath implemetations to be used in GUI apps such as a web
> > browser.
> Yes, then this could defiantly be helpful. Are you using bison to
> implement this? 


> If so, do you call your main loop function from within 
> the bison grammar file? If not, do you block while parsing?

I currently block, and haven't spent any effort at doing it properly(and will 
probably continue to post pone it until the push-parser stuff has been 
released). An input buffer is built asyncronously, and once it's complete, I 
let the bison/tokenizer loose. That helps at least a bit; during the time the 
parser executes it doesn't block because of waiting on IO, it is only the 
computation time.

Thanks for the clarifications.



reply via email to

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