3 ms·
> (1) accept the input string in pieces For that it must allow you to specify how to get the next character and save/restore parsing context. Also solves (2).
by zzzcpan 8y ago
> (1) accept the input string in pieces
For that it must allow you to specify how to get the next character and save/restore parsing context. Also solves (2). Ragel allows that I believe.
> (3) tell you what characters/strings are valid suffixes of the current automaton
What do you mean by that?
- mehrdadn 8y ago> What do you mean by that? Oh, I just mean you should be able to ask a regex automaton what character(s) it will accept next. That can help you narrow down the set of strings to try feeding in.