-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
JuliaLang/JuliaSyntax.jl
#372Labels
parserLanguage parsing and surface syntaxLanguage parsing and surface syntaxunicodeRelated to unicode characters and encodingsRelated to unicode characters and encodingsππ and other emoji
Description
Some emojis are composed of sequences of other emoji, combined by ZWJ. At the moment, ZWJ is disallowed in the parser, so these emoji, cannot be used, e.g.:
julia> π³οΈβπ
ERROR: syntax: invisible character \u200d near column 2
Stacktrace:
[1] top-level scope
@ none:1
This is because π³οΈβπ
is really π³οΈβ[ZWJ]π
. We should decide what to do here, since use of these sequences is likely to expand in future Unicode versions. One option is of course to just do nothing and continue to disallow these. Another option may be to just normalize out the ZWJ in emoji sequences and treat that equivalently to the constituent emoji next to each other (since that's what they look like if ZWJ sequences are not supported by the font renderer.
simeonschaub, oscardssmith, JeffBezanson, yurivish, Keno and 4 more
Metadata
Metadata
Assignees
Labels
parserLanguage parsing and surface syntaxLanguage parsing and surface syntaxunicodeRelated to unicode characters and encodingsRelated to unicode characters and encodingsππ and other emoji