[antlr-interest] Incremental Parsing?

Loring Craymer lgcraymer at yahoo.com
Mon Jul 16 20:23:01 PDT 2007


Well, Thread.suspend() and Thread.resume() are
deprecated, but still valid.  You can also couple use
of a ReentrantLock with Thread.yield().  Java supports
all of the necessary machinery.

--Loring

--- Benji Smith <benji at benjismith.net> wrote:

> On 7/16/07, Loring Craymer <lgcraymer at yahoo.com>
> wrote:
> > Why not just implement the parser as a coroutine?
> 
> I agree. Coroutines would be perfect. Not all
> languages have 'em though.
> 
> People have been talking about adding coroutines to
> Java for at least
> three or four years now. I wonder if it'll ever
> happen.
> 
> --benji
> 



 
____________________________________________________________________________________
Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097


More information about the antlr-interest mailing list