Next: , Previous: , Up: Futures   [Contents][Index]


24.2 Furthest earleme values

marpa_r_furthest_earleme returns unsigned int which is non-orthogonal with marpa_r_current_earleme. This leaves no room for an failure return value, which we deal with by not checking for failures, of which the only important one is calling marpa_r_furthest_earleme before the start of input. To consider marpa_r_furthest_earleme we consider furthese earleme to have been initialized when the recognizer was created, which is another non-orthogonality with marpa_r_current_earleme.

All this might be fine, if something were gained, but in fact in the furthest earleme, unless there is a problem, always becomes the current earleme, and no use cases for extremely long variable-length tokens are envisioned, so that the two should never be far apart. Additionally, the additional values for the furthest earleme only come into play if the parse is to large for the computer memories as of this writing. Summarizing, marpa_r_furthest_earleme, should return an int, like marpa_r_current_earleme, and the non-orthogonalities should be eliminated.