[Top][All Lists]

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

Re: Licence questions

From: Detlef Vollmann
Subject: Re: Licence questions
Date: Mon, 22 Sep 2003 15:41:38 +0200

Akim Demaille wrote:
>  > I' played around a bit with and modified it to produce
>  > a pull-style parser (i.e. it generates an iterator that can be
>  > advanced from token to token).
> Would you contribute that change?  That's on the road map anyway, in
> the distance tho.
I'll definitely plan to do that, as soon as the license questions
are solved and it's clear from which existing skeleton I'll
derive the pull-skeleton.

But the basic idea is simple.  For I defined in the header
a class ConstIterator inside of class Parser, and the parse()
function is just the operator++() of ConstIterator.

And after reduce, instead of "goto yynewstate" I just do a return.
Of course there are some more details to it, but that's the basic


Detlef Vollmann   vollmann engineering gmbh
Linux and C++ for Embedded Systems

reply via email to

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