[ragel-users] Re: Inline scanner

Carlos Antunes cmantu... at gmail.com
Thu Jul 12 14:21:22 UTC 2007


On 7/12/07, Adrian Thurston <thurs... at cs.queensu.ca> wrote:
> Carlos Antunes wrote:
> > Now, it would be AWESOME, if one could apply that prefix operator to
> > *any* machine, including scanners, obviating the need to do it
> > explicitly. Following your example below, one would simply do
> > prefix(inline_scanner), for example.
>
> Sure, my guess is that the prefix of a scanner would actually be the
> prefix of the union of all scanner patterns.
>

Yes, that's what I was thinking.

>
>I don't think the prefix of final scanner machinery would make much sense
>

Agreed. I'm not seeing any application for this.

Thanks!

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