bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] bad character in execute+


From: Juergen Sauermann
Subject: Re: [Bug-apl] bad character in execute+
Date: Mon, 1 Oct 2018 17:17:57 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Hi Kacper,

thanks, fixed in *SVN 1082*.

/// Jürgen



On 10/01/2018 01:11 AM, Kacper Gutowski wrote:
> On Sun, Sep 30, 2018 at 03:42:53PM -0600, Nathan Rogers wrote:
>> When using the diamond operator, the repl returns "bad character in
>> execute+"
>>
>> simple example: \
>> {1:2◊3}
>>  Bad char in execute+
> Lambda syntax in GNU APL isn't compatible with Dyalog's, and you can't
> use diamond within it.  But the diamond here is a red herring.
> It's the colon that causes the error before getting to the diamond:
>
>       :
> Bad char in execute+
>       {1⋄2}
> Unbalanced curly bracket+
>
> It more-or-less works as expected.  The former is because : is not a
> valid token outside of defined functions where it is used for labels.
> The later is because it's interpreted as two separate statements split
> by diamond.
>
> I think the )MORE messages for parse errors could be improved, though.
> Now it just repeats "Bad char in execute".  It would be more informative
> to say which character is the offending one.
>
> -k
>
>


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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