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.