Re: [Bug-apl] No errro message when defining functions using

2014-02-13 Thread Elias Mårtenson
Thank you. I did not realise that the number indicated the line where the error occurred. I have updated the Emacs mode to display an error message and highlight the line where the error occurred now. Is there a way to get more detailed information as to what the error was? Right now I simply disp

Re: [Bug-apl] No errro message when defining functions using

2014-02-13 Thread Juergen Sauermann
Hi Elias, not on my machine: ⎕FX 'foo[x]' 'x' 1 )fns Could it be that you had foo defined earlier? The syntax error is then due to a niladic function called with an axis (which is no a valid pattern in APL). The return value of 1 is the index of the line that has caused the error

[Bug-apl] A suggestion concerning the readline library

2014-02-13 Thread Thomas Baruchel
Hi, first of all, I am a new APL user; I wish to learn APL mostly with GNU APL (I installed NGN + nodejs as well as Dyalog APL on my raspberry however). Since I have been coding in several other languages for many years, I would be happy to help if I can. First of all, I started a new blog: http

Re: [Bug-apl] Print width

2014-02-13 Thread Kacper Gutowski
On 2014-02-13 16:47:10, Juergen Sauermann wrote: > Not sure, though, what is wrong with: > > ⎕PW⍴'=' > == Oh, absolutely nothing, it was just a visual aid to show where ⎕PW ends. Sorry for confusion, and thanks for the fixes. -k

Re: [Bug-apl] Print width

2014-02-13 Thread Juergen Sauermann
Hi Kacper, I have rewritten the ⎕PW line break algorithm. A problem remaining is that there seems to be no precise description of how this should look like, in particular for nested arrays. The old algorithm tried to not break nested arrays (which caused the output to be longer than ⎕PW if a