[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-apl] using XFRPC11.w3
From: |
Fausto Saporito |
Subject: |
Re: [Bug-apl] using XFRPC11.w3 |
Date: |
Fri, 24 Apr 2015 19:03:41 +0200 |
Hello Blake,
thanks, maybe this could be useful with Dyalog...
regards,
Fausto
2015-04-24 18:31 GMT+02:00 Blake McBride <address@hidden>:
> From years ago, I remember an APL workspace that enabled a standard
> interchange format between various APL's. For example, if I remember
> correctly, one of the first things it did was include quad-AV. It then used
> this to map everything else. I may have a copy of this if anyone is
> interested. (I think it was called WSIN and WSOUT)
>
> Blake
>
>
> On Fri, Apr 24, 2015 at 11:17 AM, Juergen Sauermann
> <address@hidden> wrote:
>>
>> 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 ***
>>
>>
>
- [Bug-apl] using XFRPC11.w3, Fausto Saporito, 2015/04/24
- Re: [Bug-apl] using XFRPC11.w3, Juergen Sauermann, 2015/04/24
- Re: [Bug-apl] using XFRPC11.w3, Blake McBride, 2015/04/24
- Re: [Bug-apl] using XFRPC11.w3,
Fausto Saporito <=
- Re: [Bug-apl] using XFRPC11.w3, Fausto Saporito, 2015/04/24
- Re: [Bug-apl] using XFRPC11.w3, Juergen Sauermann, 2015/04/24
- Re: [Bug-apl] using XFRPC11.w3, Fausto Saporito, 2015/04/24
- Re: [Bug-apl] using XFRPC11.w3, Juergen Sauermann, 2015/04/24
- Re: [Bug-apl] using XFRPC11.w3, Blake McBride, 2015/04/24
- Re: [Bug-apl] using XFRPC11.w3, Blake McBride, 2015/04/24
- Re: [Bug-apl] using XFRPC11.w3, Juergen Sauermann, 2015/04/24
- Re: [Bug-apl] using XFRPC11.w3, Juergen Sauermann, 2015/04/25
- Re: [Bug-apl] using XFRPC11.w3, Fausto Saporito, 2015/04/27
- Re: [Bug-apl] using XFRPC11.w3, Juergen Sauermann, 2015/04/27