FEAT: PARSE now supports any-string parsing.
FIX: corrupted `type` variable in many places.
FIX: input advancing is now mainly done when matching occurs, ST_NEXT_INPUT have been repurposed to do one step forward only.