Possible alex bug

Working on my own jacinda, I ran into the following bug. I was trying to use APL iota (⍳) as a character (as a synonym for ix).

However, it gets lexed as a name!

> ls -l | ja '(+)|0 {⍳>1}{`5:}'
ja: 1:8 's' is not in scope.

Any idea if this would be an alex bug or something else? Where should I report this?

1 Like

Weird indeed! I guess reporting happens here.


is 0x2373, while s is 0x0073 in UTF-16. Sounds like alex checked LSB of only and decided that it is s, so a bug in Unicode handling.


This sounds related to the discussion in Provide macros corresponding to the Unicode general categories · Issue #126 · simonmar/alex · GitHub the current handling of unicode in Alex is…confusing.

1 Like