News for hackers. Stuff that matters.
Re:K: We need to talk about group by semi-extrinsic on Friday March 31, 2023 @04:13PM (#35392909)
Isn't the original APL the only lang that uses actual Unicode symbols for operators?
Re:K: We need to talk about group by remexre on Friday March 31, 2023 @04:40PM (#35393329)
Agda does too! https://plfa.github.io/ for examples
Re:K: We need to talk about group by ksherlock on Friday March 31, 2023 @04:32PM (#35393218)
There are esoteric code golf languages that use unicode. MPW (shell, assembler) used extended characters (MacRoman, not unicode but then again, APL also predates unicode) for some operations.

eg, instead of "echo yo >> file" you would "echo yo ≥ file"

Re:K: We need to talk about group by messe on Friday March 31, 2023 @08:16PM (#35395566)
Julia has support for Unicode operators. Most editor plugins for Julia allow you to enter the characters using (La)Tex syntax, so it’s quite common to see.
Re:K: We need to talk about group by sli on Friday March 31, 2023 @09:31PM (#35396092)
Unicode support doesn't really seem that uncommon, in the grand scheme. Rosetta Code's wiki has a page for languages that support Unicode variable names[0] and some of them were surprising to me (e.g. AppleScript).

Of course, supporting Unicode variable names doesn't mean a language supports Unicode anywhere, but it's a starting point for historical research at least.

[0]: https://rosettacode.org/wiki/Unicode_variable_names

Re:K: We need to talk about group by pavlov on Friday March 31, 2023 @04:20PM (#35393034)
There’s also at least BQN, which I suspect is the language used in those comments:

https://mlochbaum.github.io/BQN/

Re:K: We need to talk about group by chrispsn on Friday March 31, 2023 @05:28PM (#35393920)
Yep, the comments are the BQN version.
Re:K: We need to talk about group by thechao on Friday March 31, 2023 @05:25PM (#35393882)
Fortress.
Re:K: We need to talk about group by Jasper_ on Friday March 31, 2023 @05:25PM (#35393887)
APL predates Unicode! You used to have to use special APL keyboards to write it. The symbols were included in Unicode as a way to try and make APL more palatable.
Re:K: We need to talk about group by jdlshore on Saturday April 01, 2023 @02:16PM (#35402573)
> The symbols were included in Unicode as a way to try and make APL more palatable.

That seems highly unlikely. Do you have a source, or are you sharing speculation as fact?

It’s more likely that APL symbols were included in Unicode as part of its mission to unify all the world’s scripts into single code set.

Re:K: We need to talk about group by shrubble on Sunday April 02, 2023 @03:32AM (#35408123)
They weren't included to make it more palatable, but because APL was being actively used in larger systems.
Re:K: We need to talk about group by mostlylurks on Friday March 31, 2023 @05:54PM (#35394183)
Haskell allows defining unicode operators, and has an extension that allows you to use unicode symbols instead of ascii sequences in various parts of the syntax.
Re:K: We need to talk about group by jlg23 on Friday March 31, 2023 @06:13PM (#35394417)
APL predates the first documented thoughts (not specification/implementation) of unicode by roughly 20 years.
Re:K: We need to talk about group by bbarnett on Friday March 31, 2023 @09:35PM (#35396130)
APL predates the first documented thoughts

I used to think that Lisp was bad, with its "God coded the universe in Lisp", then I read only the first part of your sentence, and was "Woha, so APL predates thought?!"

https://www.youtube.com/watch?v=5-OjTPj7K54

Re:K: We need to talk about group by dan-robertson on Friday March 31, 2023 @06:33PM (#35394660)
Raku (fka perl6) has some, eg you can use <atom emoji>+= to atomically increment a value.
Re:K: We need to talk about group by Avshalom on Friday March 31, 2023 @09:09PM (#35395942)
this is a bit obscure but Trealla Prolog allows for full unicode in the source and user defined operators, which is nice.
Re:K: We need to talk about group by lizmat on Saturday April 01, 2023 @10:36AM (#35400613)
No.

In the Raku Programming Language there are several non-ASCII operators, although each of them has a pure ASCII equivalent. Some examples: ≤ vs <=, ≠ vs !=, ∈ vs (elem), etc.

The full list: https://docs.raku.org/language/unicode_ascii.html