zesterer / chumsky

Write expressive, high-performance parsers with ease.
https://crates.io/crates/chumsky
MIT License
3.64k stars 155 forks source link

Add input traits implementation for `Graphemes` #690

Closed Hedgehogo closed 1 month ago

Hedgehogo commented 1 month ago

This is to prevent constructs like this ̲0 from being treated as a symbol followed by an number.

P.S. Extended grapheme clusters are being used.

zesterer commented 1 month ago

Thanks for the PR!