Re: [Bug-apl] [bug-apl] SVN 346 APserver error on startup

2014-06-29 Thread Juergen Sauermann
Hi apm, looks like APserver is not running. Normally APserver is forked automatically by the apl interpreter, but that can fail for numerous reasons. For the automatic start of APserver it must be: - executable, and - located in the same directory as the apl interpreter. You can also start APs

Re: [Bug-apl] Shared memory removed

2014-06-29 Thread Juergen Sauermann
Hi David, my view regarding shared variables is that they are a creature of their time, kind of Dinosaurs. I have implemented them only for compatibility with IBM APL2 to ease portability existing APL programs. You can have a look at *testcases/AP*.tc* to see how to use them. Shared variables a

Re: [Bug-apl] Command-line bug, apl-1.3

2014-06-29 Thread Juergen Sauermann
Hi Chris, thanks, will be fixed in the next SVN commit. /// Jürgen On 06/28/2014 06:49 PM, Chris Moller wrote: apl.texi and the files derived from it refer to a command line option "[no]COLOR," but in main.cc the options are "Color" and "noColor." apl --noColor works apl --noCOLO

Re: [Bug-apl] Shared memory removed

2014-06-29 Thread Elias Mårtenson
It could be argued that it makes some sense on mobile, since native libraries on Android is messy at best. That said, I intend to provide a built-in API to support various Android-specific features. Some of those will probably be more useful than shared variables, maybe. Regards, Elias On 29 Jun

[Bug-apl] New gnu-apl-mode keyboard layout

2014-06-29 Thread David B. Lamkins
My fingers'll need a bit of retraining, but this new layout seems much more logical. Thanks!

Re: [Bug-apl] Keymap and underlined ⍺ and ⍵

2014-06-29 Thread Blake McBride
Dear Elias, I saw some posts about this in the past, but my issues regarding basic functionality overrode my performance concerns at that time. Now that I believe basic functionality is getting good, my attention shifts to your issue. Several minutes to a fraction of a second to do anything bear

Re: [Bug-apl] Keymap and underlined ⍺ and ⍵

2014-06-29 Thread Blake McBride
Thanks. The ]KEYBOARD command now matches my keyboard. Subsequent to creating my Dyalog keyboard, I noticed a bug in their layout. Unfortunately, my keyboard and your ]KEYBOARD command both reflect their error. The character shown on top of the multiply is shown as a normal exclamation point.

Re: [Bug-apl] Keymap and underlined ⍺ and ⍵

2014-06-29 Thread Blake McBride
I just noticed, the del-tilda, and the delta-underscore located on the F and H keys probably shouldn't be there. They are duplicated on the 2 and period keys. Also, I show the quad-equal on top of the quote on the K key. --blake On Sun, Jun 29, 2014 at 4:12 PM, Blake McBride wrote: > Thanks.

[Bug-apl] Patch to show directories in )LIB and ]LIB

2014-06-29 Thread David B. Lamkins
Since )LIB and ]LIB will accept path names, I thought that it would be useful for them to display directories. Patch attached. Notes: 1) You must specify an absolute path. This is existing behavior, unchanged by the patch. 2) While the )LIB output is sorted, the ]LIB output is not. This is exis

[Bug-apl] Error starting APserver

2014-06-29 Thread Elias Mårtenson
I upgraded to the latest version at home last night and everything ran fine. My home machine is running Ubuntu. When I did the same on my work machine which is using Arch Linux, I'm getting the following error: ::connect() to existing APserver failed: Connection refused *** using local Svar_DB ca

[Bug-apl] Alpha-underbar doesn't work in lambda functions

2014-06-29 Thread Elias Mårtenson
I'm doing a simple test with alpha-underbar in a lambda function and getting an error message. To reproduce: *F ← { ⍺ ⍶ ⍵ }* *10 + F 20* VALUE ERROR F[1] λ←⍺ ⍶ ⍵ ^ Regards, Elias

[Bug-apl] Identify function

2014-06-29 Thread Elias Mårtenson
I was looking at the Dyalog reference manual and realised that they support monadic ⊢ (right) as the identity function. Adding support for this in GNU APL is trivial. The attached patch implements this. Regards, Elias Index: src/PrimitiveFunction.hh ===