-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Using the same unicode for iota that APL uses gives this
julia> apl"⍳2"
ERROR: LoadError: ⍳: undefined APL symbol
Stacktrace:
[1] parse_apl(s::String, i::Int64, paren_level::Int64, curly_level::Int64)
@ APL ~/.julia/packages/APL/qzFcC/src/parser.jl:85
[2] parse_apl(str::String)
@ APL ~/.julia/packages/APL/qzFcC/src/parser.jl:45
[3] var"@apl_str"(__source__::LineNumberNode, __module__::Module, str::Any)
@ APL ~/.julia/packages/APL/qzFcC/src/APL.jl:11
in expression starting at REPL[42]:1
However using \iota works.
julia> apl"ι2"
1:2
Unicode codepoints:
julia> codepoint('ι')
0x000003b9
julia> codepoint('⍳')
0x00002373
I am not sure if this is intended but I couldn't find that documented anywhere if so. If it is not intended I am not sure what the solution is but perhaps it makes sense to support both?
Metadata
Metadata
Assignees
Labels
No labels