bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Assigning to Unicode characters?


From: Juergen Sauermann
Subject: Re: [Bug-apl] Assigning to Unicode characters?
Date: Wed, 05 Aug 2015 12:27:15 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Hi Alex,

the character that are allowed for user defined variable names are defined in the ISO standard. As far as
I remember they are A..Z a..z 0..9 ∆ ⍙ ¯ and _ where the first char of a variable name must not be 0..9 or ¯.

Also the characters allowed in APL programs (outside strings or comments) are defined in the ISO standard.

The characters that are allowed inside strings depend on the interpreter. Older interpreters
allow only characters that are in ⎕AV while more recent, Unicode based interpreters allow
arbitrary Unicode characters inside strings.

The general convention is that ⎕CR must not produce characters (outside strings or comments) that are not in ⎕AV.
A consequence of that conventions is then that every character added to ⎕AV must have an APL relevance and it
will the throw out some other character without APL relevance, so the the size of ⎕AV remains 256.

/// Jürgen


On 08/05/2015 02:59 AM, address@hidden wrote:
Hi Bug APL,

      ሴ←5+5 
Unknown APL character: ሴ (U+1234)
Non-APL character

Are only letters in ⎕AV supported? Is there a way to either allow assignment to Unicode characters, or define a different ⎕AV (or the equivalent of adding characters to ⎕AV)?

-Alex


reply via email to

[Prev in Thread] Current Thread [Next in Thread]