[Top][All Lists]

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

Re: [Bug-apl] Workspace Migration Error

From: Juergen Sauermann
Subject: Re: [Bug-apl] Workspace Migration Error
Date: Thu, 03 Sep 2015 20:04:35 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Hi Mike,

thanks for reporting this, should be fixed in SVN 673.

/// Jürgen

On 08/31/2015 03:54 PM, Mike Duvos wrote:
It appears that M←¯12-⎕IO-⍳25 isn't the most general case of J-Vectors in .atf files.

M←54-6×⍳18 will yield the error... (in ones origin)

ERROR: inverse 2 ⎕TF failed for 'M←48-¯6×⎕IO-⍳18

Another OUT file attached.

On Mon, Aug 31, 2015 at 5:53 AM, Juergen Sauermann <address@hidden> wrote:
Hi Mike,

it would help if you could provide the file OUT for which the )IN command fails.

Generally speaking, )IN is an very dangerous command because it executes ()
the records in the file in order to reconstruct a workspace, and it will do whatever
the producer of the file wants to do (with your permissions).

For that reason, GNU APL does not use execute () in order to implement )IN (or 2 ⎕TF),
but has a special parser to process the records. That special parser is limited in what APL functions
it allows. Unfortunately there exist no specification as to which APL functions can be used in 2 ⎕TF

The pattern below (
'M←¯12-⎕IO-⍳25') has not occurred before, so the parser didn't know.
But once I have the file, I can add and test it.

/// Jürgen

On 08/31/2015 05:25 AM, Mike Duvos wrote:

      )OUT OUT


      )IN OUT
ERROR: inverse 2 ⎕TF failed for 'M←¯12-⎕IO-⍳25

I'm assuming the error here is on the GNU APL side of the transaction, as APL2 has been around for a while, and people would have complained.


reply via email to

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