Re: Swift

From: David Starner <prosfilaes_at_gmail.com>
Date: Thu, 5 Jun 2014 03:52:13 -0700

On Thu, Jun 5, 2014 at 3:04 AM, J. Leslie Turriff
<jlturriff_at_centurylink.net> wrote:
> What I find interesting is that (with the possible exception of Ada) I don't
> think that any of the commonly used languages allow for the use of Unicode
> characters for non- user-defined tokens (i.e. reserved words, etc.).

There is one non-ASCII character in the library, for Pi, and that
caused some fuss, along with some eye-rolling, as writing the Unicode
characters as ["03C0"] is permitted. Ada is a conservative language,
and there's no real drive to make changes like these. (I was mistaken
on the 20 years for Unicode identifiers; it was the Ada 2005 standard
that permitted it, not Ada 95.)

Scala is not really a commonly used language, but does use some
Unicode arrows: ⇒ for =>, ←for <- and → for ->. Most people don't
bother.

ALGOL 60 and ALGOL 68 used non-ASCII characters like ×, ÷, ≤, ≥, ≠, ¬,
∨, ∧, ⊂, ≡, ␣ and ⏨, and had compiler defined spellings for keywords.

-- 
Kie ekzistas vivo, ekzistas espero.
_______________________________________________
Unicode mailing list
Unicode_at_unicode.org
http://unicode.org/mailman/listinfo/unicode
Received on Thu Jun 05 2014 - 05:53:15 CDT

This archive was generated by hypermail 2.2.0 : Thu Jun 05 2014 - 05:53:15 CDT