bug-apl
[Top][All Lists]
Advanced

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

Re: /⍨


From: hudson
Subject: Re: /⍨
Date: Sat, 4 Jun 2022 19:06:25 -0300 (BRT)

Hi Jürgen,

About ⌹2  , the exception also occurs at CLEAR WS (see attached log).
The )help for ⎕ uses ⌷ in the examples.
The )help for ⍞ describes input twice. (Perhaps mention A←⍞←B ?)

Regards,
Hudson

----- Em 4 de Jun de 2022, em 14:38, Dr. Jürgen Sauermann 
mail@jürgen-sauermann.de escreveu:

> Hi Hudson,
> 
> thanks, see below ( SVN 1557 ).
> 
> On 6/2/22 4:52 PM, [ mailto:hudson@hudsonlacerda.com | 
> hudson@hudsonlacerda.com
> ] wrote:
> 
>> Hi Jürgen,
> 
>> Many thanks.
> 
>> 1) The reference to the ISO "PDF" file without the ZIP-format warning is in 
>> the
>> preamble of doc/apl.html .
> 
> fixed.
> 
>> 2) ⌹
>> ⌹ ,2 (as vector) is OK
>> ⌹ 2 (as scalar) raises the exception
>> ==============================================================================
>> Assertion failed: 0 && "Cell::init_other() called on base class"
>> in Function:      init_other
>> in file:          Cell.hh:64
> 
> Still having problems to reproduce this:
> 
> ⌹,
> 0.5
> ⌹2
> 0.5
> 
> Does it also happen in a CLEAR WS ?
> 
>> 3) Still missing help for ⎕ and ⍞ — not listed by ")help TAB"
>> )help ⎕
>> )help ⍞
> 
> fixed.
> 
>> 4) ⎕DL cannot be stopped by ATTENTION (Control+C) ­— is it so by design?
> 
> Actually you need INTERRUPT (= double ^C within short time) and not
> ATTENTION (= single ^C).
> 
>> 5) /⍨ now works — but not /¨ :
> 
>>      (1 0 1)(0 1 1) /¨ ⊂'abc'
>> DOMAIN ERROR
>>       (1 0 1) (0 1 1)/¨ ⊂'abc'
>>       ^                ^
>>       (1 0 1)(0 1 1) /¨¨ ⊂'abc'
>> [INFINITE LOOP]
> 
>> Alternative to /¨ (besides {⍺/⍵}¨ ):
>>       ,/⊃(1 0 1)(0 1 1) ⍴¨¨ ⊂'abc'
>>  ac bc
> 
> fixed. I should mention that some invariants in the IBM APL2 language 
> reference
> manual are incorrect (at least my PC APL2 differs from the manual). The
> 
> (0≠L)/R ←→ ⊃,/L⊂R on page 188
> 
> seems to hold only if L⊂R is not empty.
> 
>> (Maybe it is not without reason that IBM APL2 does not support operators 
>> along
>> with / ).
> 
>> Other issues are fixed.
> 
>> Regards,
>> Hudson
> 
>> P.S.: Is it in your TODO list support for Unicode string manipulation (like
>> toupper(), tolower() etc. )?
> 
>> ----- Dr. Jürgen Sauermann <mail@jürgen-sauermann.de> escreveu:
>> > Hi Hudson,
>> >
>> > thanks for reporting your issues. I believe that I fixed (most of) them
>> > in *SVN 1556*.
>> >
>> > Regarding the ISO PDF file, it is mentioned below the link in
>> > README-7-more-info
>> > that the file needs to be unzipped.
>> >
>> > Regarding *⌹{⍺+÷⍵}⍣1000⍨ 1* this works just fine on my machine:
>> >
>> > *      ⌹{⍺+÷⍵}⍣1000⍨ 1**
>> > **0.6180339887**
>> > *
>> > If you can reproduce the fault, then please check with *gdb* (after
>> > *make apl.lines*
>> > in directory *src* as to get better line numbers in *gdb*).
>> >
>> > Best Regards,
>> > Jürgen
> > [...]

Attachment: log
Description: Binary data


reply via email to

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