bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] using XFRPC11.w3


From: Juergen Sauermann
Subject: Re: [Bug-apl] using XFRPC11.w3
Date: Fri, 24 Apr 2015 18:17:23 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Hi Fausto,

I believe workspace files are generally not exchangeable between different APL interpreters.

In some cases there are commands that allow the exchange of workspaces. For example )IN and )OUT
would allow the exchange of workspaces between IBM APL2, GNU APL, and possibly others. Not sure
though if Dyalog supports )IN and )OUT.

If you have a workspace from an interpreter that does not have such commands then you normally
use monadic ⎕CR for obtaining a text representation of the APL functions in the workspace. That
text representation can then be transferred either by writing it to a file or cut-and-pasting it. There are
serious pitfalls in that process such as encoding differences and ⎕AV differences. Even if the
transfer succeeds then the APL syntax might still differ.

You might be lucky finding APL programs some place that generate the 2 ⎕TF format of IBM APL2;
that format is implemented in GNU APL as well.

Variables are handled similarly (2 ⎕TF handles both functions and variables).

I all cases except )IN and )OUT you will most likely need the interpreter that has produced the workspace
in order to )LOAD the workspace file before you can convert it yo a different format.

/// Jürgen


On 04/24/2015 04:10 PM, Fausto Saporito wrote:
Hello all,

I'm trying to used the workspace XFRPC11.w3 (downloaded from APL wiki)
in order to transfer file from Dyalog APL to GNU-APL.

When I try to load XFRPC11 I have an internal error.

I suppose the 'w3' format is only for APL2000... correct ?

Is there a way to use such method with GNU-APL too ?

thanks,
Fausto


      )copy XFRPC11.w3

Bad UTF8 sequence: 0xFC... at UTF8_string.cc:190


==============================================================================

Assertion failed: 0 && "Internal error in UTF8_string::toUni()"

in Function:      toUni

in file:          UTF8_string.cc:191


Call stack:


----------------------------------------

-- Stack trace at UTF8_string.cc:191

----------------------------------------

0xa @@@@

0xa  @@@@

0xa   @@@@

0xa    @@@@

0xa     @@@@

0xa      @@@@

0xa       @@@@

0xa        @@@@

0xa         @@@@

0xa          @@@@

========================================


SI stack:


Depth:    0

Exec:     0x7fa06041fdc0

Safe ex:  no

Pmode:    ◊  c

PC:       0

==============================================================================

Assertion failed: idx < items_valid

in Function:      operator[]

in file:          ./Simple_string.hh:140


Call stack:

*** do_Assert() called recursively ***

==============================================================================

*** immediate_execution() caught other exception ***


reply via email to

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