Conversation

This Tweet was deleted by the Tweet author. Learn more
This Tweet was deleted by the Tweet author. Learn more
This Tweet was deleted by the Tweet author. Learn more
This Tweet was deleted by the Tweet author. Learn more
This Tweet was deleted by the Tweet author. Learn more
This Tweet was deleted by the Tweet author. Learn more
Pest doesn't support a separate lexing phase. This isn't an innate restriction of PEG (any grammar just works on an alphabet, after all; it doesn't matter if that's Unicode or some token set), but I don't think pest intends to support non-&str parsing.
1
Show replies
Replying to and
Food for thought: A lexerless parser with a discrete set of terminal productions is isomorphic to a pull-lexer parser where you don't tokenize the whole thing first. It's for this reason that I'm less vocal about preferring a separate lexer now. What I want requires pull lexing
1