Previous: , Up: The basic models of input   [Contents][Index]


7.2.2 Ambiguous input

We can loosen the standard model to allow more than one successful call to marpa_r_alternative() immediately previous to each call to marpa_r_earleme_complete(). This change will mean that multiple tokens become possible at each earleme — in other words, that the input becomes ambiguous. We continue to require that there be at least one successful call to marpa_r_alternative() before each call to marpa_r_earleme_complete(). And we recall that, since this is a basic input model, all tokens must have a length of 1.

In the ambiguous input model, the behavior of the current, latest and furthest earlemes are exactly as described for the standard model. See The standard model of input.