On Wed, Jan 8, 2014 at 1:16 AM, Ron Savage <[email protected]> wrote:

> Sometimes I catch myself assuming that LTM failures backtrack and try a
> shorter match, the same way I assume it for regexps.
>
> And sometimes I don't catch myself assuming that :-((.
>

Well, regexps have nobacktrack mode, so tokenizer can have optional
backtrack mode.

Played a little with "longest expected token match" a little in Repa and it
helped me get rid of a grammar workaround I had, so it proves itself to be
useful. Combining this with per token flag may be even more powerful.

>  --
> You received this message because you are subscribed to the Google Groups
> "marpa parser" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Best regards, Ruslan.

-- 
You received this message because you are subscribed to the Google Groups 
"marpa parser" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to