const keyword = C.many1(C.notSpace);
const whitespace = S.spaces;
const lang = pipe(
keyword,
P.alt(() => whitespace)
);
const input = `hello world mickey mouse`;
const res = run(P.many(lang), input);
expectation: ['hello', ' ', 'word', ' ', 'mickey', ' ' ,'mouse']
actual: runs forever...
expectation:
['hello', ' ', 'word', ' ', 'mickey', ' ' ,'mouse']actual: runs forever...