3 ms·
This could be useful for writing lexers. Although I typically need to interleave some "decoding" with proper lexing (like decoding escape sequences in strings,
by yakubin 5y ago
This could be useful for writing lexers. Although I typically need to interleave some "decoding" with proper lexing (like decoding escape sequences in strings, universal character names in identifiers etc.), which would make it harder, when you want to do it in a single pass.