Skip to content

Conversation

@pthariensflame
Copy link
Contributor

The character U+1F8B2 🢲 (RIGHTWARDS ARROW WITH LOWER HOOK) is new is Unicode 16; it is of a kind (no pun intended) with the longstanding characters U+21A9 ↩ (LEFTWARDS ARROW WITH HOOK) and U+21AA ↪ (RIGHTWARDS ARROW WITH HOOK), both of which are already supported as operators in Julia. If more evidence of its worth is needed, it was added to Unicode as part of the Symbols for Legacy Computing effort, wherein it was sourced from Smalltalk character sets in the 1970s—so it has a very long history of being used in programming languages!

U+1F8B2 🢲 (RIGHTWARDS ARROW WITH LOWER HOOK)
@c42f
Copy link
Member

c42f commented Jan 23, 2025

This seems fine to add, thanks.

However, this patch doesn't work as-is, due to an unfortunate combination of circumstances. In particular, we still rely on Base.is_id_start_char('🢲') which unfortunately returns true for this arrow.

It's easiest just to special-case this arrow for now so I'll do that (we should really do #381, though 😬 )

@c42f c42f merged commit 22caab0 into JuliaLang:main Jan 23, 2025
35 checks passed
pthariensflame added a commit to pthariensflame/julia that referenced this pull request Jan 23, 2025
pthariensflame added a commit to pthariensflame/julia that referenced this pull request Jan 23, 2025
@pthariensflame pthariensflame deleted the arrows-16 branch January 23, 2025 19:35
pthariensflame added a commit to pthariensflame/julia that referenced this pull request Jan 24, 2025
pthariensflame added a commit to pthariensflame/julia that referenced this pull request Jan 24, 2025
pthariensflame added a commit to pthariensflame/julia that referenced this pull request Feb 1, 2025
oscardssmith pushed a commit to JuliaLang/julia that referenced this pull request May 14, 2025
…57143)

Now that JuliaLang/JuliaSyntax.jl#525 has been merged, also add it to
the flisp parser and REPL, and document it!
c42f added a commit to JuliaLang/julia that referenced this pull request Oct 17, 2025
The character U+1F8B2 🢲 (RIGHTWARDS ARROW WITH LOWER HOOK) is new is Unicode 16; it is of a kind (no pun intended) with the longstanding characters U+21A9 ↩ (LEFTWARDS ARROW WITH HOOK) and U+21AA ↪ (RIGHTWARDS ARROW WITH HOOK), both of which are already supported as operators in Julia. It was added to Unicode as part of the Symbols for Legacy Computing effort, wherein it was sourced from Smalltalk character sets in the 1970s—so it has a very long history of being used in programming languages.

---------

Co-authored-by: Claire Foster <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants