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


5.1.3 The current earleme

The current earleme is the earleme that Libmarpa is currently working on. More specifically, it is the one at which new tokens will start. Since tokens are never zero length, a new token will always end after the current earleme. marpa_r_start_input() initializes the current earleme to 0, and every call to marpa_r_earleme_complete() advances the current earleme by 1. The marpa_r_start input() and marpa_r_earleme_complete() methods are only ones that change the current earleme. See marpa_r_start_input() and marpa_r_earleme_complete().