I think something like a lexer doesn&#x27;t need to know about graphemes, it just needs to know which codepoints are XID_start and XID_continue for identifiers and hardcoded codepoints for everything else.<p>EDIT: Or a JSON parser, etc.