4 ms·
https://lezer.codemirror.net/docs/guide/#token-specialization https://lezer.codemirror.net/docs/guide/#token-specializatio... is pretty cool, and they make use
by mdaniel 3y ago
https://lezer.codemirror.net/docs/guide/#token-specialization https://lezer.codemirror.net/docs/guide/#token-specializatio... is pretty cool, and they make use of it in the python grammar for the new "match" and "case" soft keywords: https://github.com/lezer-parser/python/blob/ead67a397f7c7cb688e36d941a32c1527d7cc409/src/python.grammar#L45 https://github.com/lezer-parser/python/blob/ead67a397f7c7cb6...