3 ms·
I have some thoughts about this: https://github.com/zesterer/chumsky/issues/20#issuecomment-960639209 https://github.com/zesterer/chumsky/issues/20#issuecomment
by zesterer 5y ago
I have some thoughts about this: https://github.com/zesterer/chumsky/issues/20#issuecomment-960639209 https://github.com/zesterer/chumsky/issues/20#issuecomment-9...
TL;DR: The best approach, in my view, is to detect whitespace in the lexer and emit fake delimiter tokens for the parser so that the parser-level syntax is still context-free.