[ragel-users] Re: fexec bug in v5.15?

Carlos Antunes cmantu... at gmail.com
Wed Nov 8 19:07:01 UTC 2006


On 11/8/06, Adrian Thurston <thurs... at cs.queensu.ca> wrote:
>
> As separate statements it doable but it would require control flow analysis
> of the host language in order to determine if one statement comes after the
> other. Control flow analysis is a huge undertaking, one that I would have to
> say is too much for Ragel.
>

Understood.

>
> But combination statements that hold and return would work.
>

Great!

On other hand, what is the cost of leaving the scanner and then
setting up and reentering the scanner? Maybe this could be the
behavior following an fexec or fhold? Not really knowing what I'm
talking about, my gut feeling is that this would be easy to implement,
no?

Carlos

-- 
"We hold [...] that all men are created equal; that they are
endowed [...] with certain inalienable rights; that among
these are life, liberty, and the pursuit of happiness"
        -- Thomas Jefferson



More information about the ragel-users mailing list