- or download this
state = start
transition = transition-for (state, input.current-char)
...
state = start # restart
}
- or download this
state = start
last-start = input.position
...
state = start # restart
last-start = input.position
}
- or download this
state = start
memo.last-start = input.position
...
last-start = input.position
}
}
- or download this
state = start
input->remember-start-position
...
state = start # restart
}
}
- or download this
state = start
input->remember-start-position
...
input->remember-start-position
}
}
- or download this
state = start
input->remember-starting-position
...
input->remember-starting-position
}
}
- or download this
state = start
input->remember-starting-position
...
input->advance # advance
}
}
- or download this
regular-state::process (input) {
input->remember-accept-position if (self->accepts) # memo-2
...
state = state->transition-for (input->current-char)
|| error-state # move
}
- or download this
regular-state::process (config) {
if (self->accepts) { # memo
...
state = state->transition-for (config->current-input-char)
|| error-state # move
}