take-until-sequence* ( sequence-parser sequence -- sequence'/f )


Vocabulary
sequences.parser

Inputs
sequence-parsera sequence-parser
sequencea sequence


Outputs
sequence'/fa sequence or f


Definition


:: take-until-sequence*
( sequence-parser sequence -- sequence'/f )
sequence-parser sequence take-until-sequence :> out out
[ sequence-parser [ sequence length + ] change-n drop ] when
out ;