Hi Michael, yes. GNU APL supports scripts, which are basically (UTF-8 encoded) text files containing executable APL code. If you are lucky then your interpreter supports 2 ⎕TF xxx (which converts an APL function or variable xxx into executable APL code) and you can loop over all functions and variables of a workspace in order to produce executable APL code for it and write it into a script. That script can be )LOAD-ed in GNU APL. If you are less lucky, then you have to write an equivalent of 2 ⎕TF yourself as a user-defined APL function. Since the format of 2 ⎕TF is not uniquely defined (in particular for APL values) it would be wise to test, if the receiving interpreter (say, GNU APL) understand your format. For example (in GNU APL): VAR←1 (2 3 ' abc') 4 2 ⎕TF 'VAR' VAR←1 (2 3 ' abc') 4 /// Jürgen On 10/22/2015 03:29 PM, Michael Potter
wrote:
|
- [Bug-apl] Conversion from APL2000 to Gnu APL Michael Potter
- Re: [Bug-apl] Conversion from APL2000 to Gnu APL Juergen Sauermann
- Re: [Bug-apl] Conversion from APL2000 to Gnu AP... Michael Potter
- Re: [Bug-apl] Conversion from APL2000 to Gn... Juergen Sauermann
- Re: [Bug-apl] Conversion from APL2000 to Gn... Kacper Gutowski