[Top][All Lists]

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

Re: [Bug-apl] Inverse Tranfer Form fails to reconstruct variable

From: Juergen Sauermann
Subject: Re: [Bug-apl] Inverse Tranfer Form fails to reconstruct variable
Date: Wed, 29 Jan 2014 18:03:25 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

Hi Fred,

I'm afraid you are right. Fixed in SVN 115.

I do have a regression test suite (almost every bug report is
entered into it). In the 1 ⎕TF case the test cases were wrong as well
since I did not notice the lacking ' on the inverse transformation.

/// Jürgen

On 01/29/2014 03:44 PM, Frederick H. Pitts wrote:
Hello Juergen,

        Please see the third paragraph of the 'Informal Description' of 11.6.6
Transfer Form in ISO/IEC 13751:2000(E), page 185 and the example
presented in 'Creating the Inverse Transfer Form' in "APL2 Programming:
Language Reference", page 339.  Both references indicate the Inverse
Transfer Form expect the right hand argument to be the result of having
performed the forward Transfer Form, not the variable name the result
was assigned to.

        Is anyone actively working on build a regression suite using -T?



On Wed, 2014-01-29 at 14:23 +0100, Juergen Sauermann wrote:
Hi Fred,

I believe you should use the variable name instead of the variable value
with ⎕TF, eg:

1 ⎕TF 'R' instead of 1 ⎕TR R and

2 ⎕TF 'R' instead of 2 ⎕TR R

Also saw that you use -T -- cool!

Best Regards,

On 01/29/2014 06:01 AM, Frederick H. Pitts wrote:
Gentle people,

        Please find attached QUADTF.tc.gz. gunzip it and run apl (svn rev 110)

        apl --TM 2 -T QUADTF.tc

        Examine QUADTF.tc.log and observe that the SCORES variable is not being
reconstructed in the workspace with either the migration or extended
form of the inverse transfer form.



reply via email to

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