make Segment expect only a CharSequence
make gll core ops only expect a CharSequence
in error cases, convert to a string for convenience
minimal test of parsing a non-string CharSequence
document expected type of text argument with a hint
string->segment -> text->segment