Re: [Bug-apl] FILE_IO library

2014-07-31 Thread Juergen Sauermann
is HTML or some other kind of markup? Regards, Elias On 1 August 2014 00:19, Juergen Sauermann mailto:juergen.sauerm...@t-online.de>> wrote: Hi Elias, the standard Doxygen way would be ⍝⍝< I believe. But I doubt that we will get Doxygen support for APL unless we

Re: [Bug-apl] FILE_IO library

2014-08-01 Thread Juergen Sauermann
Hi, the ⍝⍝ comes from way doxygen works. For example, // is a C/C++ comment while /// is a C/C++ comment understood by doxygen. In VHDL, -- is a VHDL comment while --- is a VHDL comment understood by doxygen. etc. I didn't want to go as far as using ⍝⍝⍝ (and no need to since ⍝ alone is a co

Re: [Bug-apl] Matching ]keyb on WASD keyboard

2014-08-01 Thread Juergen Sauermann
Hi Blake, thanks, applied. Will be contained in the next SVN. /// Jürgen On 08/01/2014 06:14 AM, Blake McBride wrote: Enclosed is an update to my WASD keyboard configuration. The GNU APL distribution should be updated with this. I added/corrected the following: χ ¥ ⍹ ⍶ ⍙ £ ¢ I now exact

Re: [Bug-apl] FILE_IO library

2014-08-01 Thread Juergen Sauermann
Hi, from my side - yes. /// Jürgen On 08/01/2014 12:00 PM, Elias Mårtenson wrote: So, should we settle for double ⍝ then? In other words, like this: ∇Z←foo X ⍝⍝ Doc comment ⍝⍝ This one too ⍝ But not this one Z←X+1 ∇ Regards, Elias On 1 August 2014 17:56, Juergen Sauermann

Re: [Bug-apl] FILE_IO library

2014-08-01 Thread Juergen Sauermann
Hi, do you have an example? Seems to work outside emacs: * ⎕FX 'FOO' '1' '' '3'** **FOO** ** ⎕CR 'FOO'** **FOO** **1 ** **3 ** * /// Jürgen On 08/01/2014 04:15 AM, Elias Mårtenson wrote: Oh yeah, now that you mention it I remember seeing the same thing. Blank lines gets eaten wh

Re: [Bug-apl] FILE_IO library

2014-08-01 Thread Juergen Sauermann
Hi Elias, as far as I can see you use a nested vector of strings as right argument of ⎕FX. In that case Str0() is the best way to represent an empty line. Another thing I saw is that you instantiate a Quad_FX object. That is unnecessary because there is an instance called fun for every syste

Re: [Bug-apl] 80 core performance results

2014-08-01 Thread Juergen Sauermann
for the 80 core result (4 hand-crafted runs in red and 4 OMP runs in green). And the script that created the plots using gnuplot. /// Jürgen On 08/01/2014 03:16 PM, Elias Mårtenson wrote: Were you able to deduce anything from the test results? On 11 May 2014 23:02, "Ju

Re: [Bug-apl] Error defining operators using lambda

2014-08-01 Thread Juergen Sauermann
Hi Elias, thanks, fixed in SVN 411. /// Jürgen On 08/01/2014 04:13 AM, Elias Mårtenson wrote: The following definition throws a SYNTAX ERROR: * foo ← { (1 ⍶ ⍵) }* SYNTAX ERROR foo←foo ^ ^ Calling it directly works though: * +{1 ⍶ ⍵} 10* 11 Regards, Elias

Re: [Bug-apl] FILE_IO library

2014-08-01 Thread Juergen Sauermann
wrote: Thank you. I will implement this shortly. Make sure you update it before the 1.4 release. Regards, Elias On 1 Aug 2014 20:57, "Juergen Sauermann" mailto:juergen.sauerm...@t-online.de>> wrote: Hi Elias, as far as I can see yo

Re: [Bug-apl] Problem with documentation in FILE_IO

2014-08-02 Thread Juergen Sauermann
Hi Elias, thanks, fixed in SVN 413. /// Jürgen On 08/02/2014 05:06 PM, Elias Mårtenson wrote: I noticed that doxygen comments have been added for FILE_IO. I find the docs for FIO∆fprintf_stderr to be a bit unclear. The documentation says: Function: Zi ← A *FIO∆fprintf_stderr* B fprintf(std

Re: [Bug-apl] Can't break out of the middle on a display operation

2014-08-02 Thread Juergen Sauermann
Hi Blake, I did some rework of the print functions for APL values. Some were not suited for values with many columns. That should work better now. SVN 413. /// Jürgen On 08/01/2014 06:30 PM, Blake McBride wrote: On Mon, Jul 21, 2014 at 5:33 AM, Juergen Sauermann mailto:juergen.sauerm...@t

Re: [Bug-apl] Can't break out of the middle on a display operation

2014-08-02 Thread Juergen Sauermann
I could ^C^C out! (I understand this may be a readline issue that'll have to wait.) Thanks! Blake On Sat, Aug 2, 2014 at 10:25 AM, Juergen Sauermann mailto:juergen.sauerm...@t-online.de>> wrote: Hi Blake, I did some rework of the print functions for APL values. So

Re: [Bug-apl] Segfault in rank with empty argument

2014-08-03 Thread Juergen Sauermann
Hi Kacper, thanks, fixed in SVN 414. /// Jürgen On 08/03/2014 06:49 AM, Kacper Gutowski wrote: Using rank operator with empty argument of derived function, results in either assertion failure (for positive right operand) or segmentation fault (for non-positive right operand). It works correc

Re: [Bug-apl] Some typos

2014-08-03 Thread Juergen Sauermann
Hi Kacper, thanks. fixed in SVN 414. I am aware of the warnings, but haven't found a solution. *man dpkg-shlibdeps* says: *binary contains an unresolvable reference to symbol sym: it's probably** ** a plugin** ** The indicated symbol has not been found in the libraries li

Re: [Bug-apl] Can't break out of the middle on a display operation

2014-08-03 Thread Juergen Sauermann
reason is that in Emacs mode you already have to press C-c twice to send a sinvlde C-c to the underlying process. That means that in order to interrupt right now I need to press it 4 times within 500 ms, which is very difficult. Regards, Elias On 3 August 2014 00:27, Juergen Sauermann

Re: [Bug-apl] apl.dyalog.xmodmap

2014-08-03 Thread Juergen Sauermann
Hi Blake, I have restructured the keyboard files a little. Some files that you mentioned as outdated were actually kept for backward compatibility after I changed from that layout to the Dyalog layout. Please have a look at SVN 414 (there will still be faults, though). /// Jürgen On 08/01/

Re: [Bug-apl] Package metadata format

2014-08-03 Thread Juergen Sauermann
Hi Elias, yes, your's looks better, I will change that. Lets call the function Z←package⍙metadata. /// Jürgen On 08/02/2014 05:50 PM, Elias Mårtenson wrote: After implementing the metadata functions nnn⍙Provides, nnn⍙Requires, etc, I feel that we should change this slightly. I find the that

Re: [Bug-apl] Another build error on OSX

2014-08-03 Thread Juergen Sauermann
Hi Elias, so where are these things defined? I doubt that we can get readline with ^C working without. /// Jürgen On 08/03/2014 04:40 PM, Elias Mårtenson wrote: Here's another error that prevents building on OSX. Hopefully we can have this one fixed for 1.4: g++ -DHAVE_CONFIG_H -I. -I..

Re: [Bug-apl] Package metadata format

2014-08-03 Thread Juergen Sauermann
Hi Elias, looks good! /// Jürgen On 08/03/2014 05:22 PM, Elias Mårtenson wrote: OK, I changed the SQL.apl file. Looks OK? https://github.com/lokedhs/apl-sqlite/blob/547c8191021629eb29b0bc141ff206766e1c21d3/SQL.apl#L134 Regards, Elias On 3 August 2014 21:29, Juergen Sauermann

Re: [Bug-apl] Package metadata format

2014-08-04 Thread Juergen Sauermann
field: { (((⍺[;⎕IO]) ≡¨ ⊂⍵) /[1] ⍺)[;2] } Could it be improved? Regards, Elias On 3 August 2014 23:45, Juergen Sauermann mailto:juergen.sauerm...@t-online.de>> wrote: Hi Elias, looks good! /// Jürgen On 08/03/2014 05:22 PM, Elias Mårtenson wrote: OK, I

Re: [Bug-apl] ERR function in APL2?

2014-08-04 Thread Juergen Sauermann
Hi Elias, ERR is indeed a function, defined on page 49 of that document. /// Jürgen On 08/04/2014 08:13 AM, Elias Mårtenson wrote: I was browsing the APL2 documentation, and came across the following code (page 56, on the PDF here ):

Re: [Bug-apl] Another build error on OSX

2014-08-04 Thread Juergen Sauermann
checking for them in configure and if they are not there (i.e. the user have no upgraded readline manually) then simply disable it. Regards, Elias On 3 August 2014 23:10, Juergen Sauermann mailto:juergen.sauerm...@t-online.de>> wrote: Hi Elias, so where are these things defi

Re: [Bug-apl] Can't break out of the middle on a display operation

2014-08-04 Thread Juergen Sauermann
ally works. That said, it's possible to send four C-c's in half a second. All I have to do is to hold C-c for a while and let the operating system's key repeat do its job. So, in a worst case scenario I just won't change anything at all. ☺ On 3 Aug 2014 21:19, "Juerge

Re: [Bug-apl] ERR function in APL2?

2014-08-05 Thread Juergen Sauermann
. Was Quad-ES available on APL2? Regards, Elias On 5 August 2014 01:42, Juergen Sauermann mailto:juergen.sauerm...@t-online.de>> wrote: Hi Elias, ERR is indeed a function, defined on page 49 of that document. /// Jürgen On 08/04/2014 08:13 AM, Elias Mårtenson wrote:

Re: [Bug-apl] build warning on OSX

2014-08-05 Thread Juergen Sauermann
Hi Peter, I guess you accidentally deleted the file or did the 'svn update' from the src subdir? /// Jürgen On 08/04/2014 09:51 PM, Peter Teeson wrote: I did a brand new SVN co and then did ./configure and got this warning file://localhost/Volumes/Data/Development/MyProjects/GNUAPL/apl-svn

Re: [Bug-apl] build warning on OSX

2014-08-05 Thread Juergen Sauermann
41 AM, Juergen Sauermann wrote: Hi Peter, I guess you accidentally deleted the file or did the 'svn update' from the src subdir? /// Jürgen On 08/04/2014 09:51 PM, Peter Teeson wrote: I did a brand new SVN co and then did ./configure and got this warning file://localhost/Volumes/D

Re: [Bug-apl] Useful range of decode function is limited.

2014-08-05 Thread Juergen Sauermann
Hi, I have changed the decode function to stay longer in the integer domain, SVN 416, Not sure what is wrong with 2⋆63 - looks OK to me. Note also that the largest integer in GNU APL (see ⎕SYL[20;]) is 920 and not 9223372036854775808 (and therefore 2⋆63 is outside that range)

Re: [Bug-apl] This looks wrong

2014-08-05 Thread Juergen Sauermann
Hi David, thanks, fixed in SVN 417. Unfortunately, as a consequence, it is no longer possible to pass a niladic function to an operator. /// Jürgen On 08/05/2014 09:39 AM, David B. Lamkins wrote: Maybe I've misunderstood some APL2 corner case, but the behavior of the attached program seems wr

Re: [Bug-apl] apl.xkb

2014-08-05 Thread Juergen Sauermann
Hi Blake, I have copied your apl.wasd.kbd to the Dyalog keyboard folder, SVN 418. The file is now called apl.kbd everywhere and the folder tells which keyboard is meant. /// Jürgen On 08/01/2014 05:57 PM, Blake McBride wrote: GNU APL comes with a file named apl.xkb under the support-files

Re: [Bug-apl] This looks wrong

2014-08-05 Thread Juergen Sauermann
e SQL∆WithTransaction will have the same problem. The workaround seems to be a bit ugly, like prefixing the lambda function with ⍵⊢ Regards, Elias On 5 August 2014 22:07, Juergen Sauermann mailto:juergen.sauerm...@t-online.de>> wrote: Hi David, thanks, fixed in SVN 417. Un

Re: [Bug-apl] How to evaluate a block of source like a file?

2014-08-05 Thread Juergen Sauermann
Hi Elias, I guess something like that exists already. Have look at how *)LOAD***works for .*apl *files. There is a stack of file descriptors for the files read by *Input* and you can push an open file descriptor onto it. The only thing that doesn't work is to stop in the middle of a file (unless

Re: [Bug-apl] Creating a new release

2014-08-05 Thread Juergen Sauermann
Hi Blake, all, thanks. I am almost ready with the *GNU APL 1.4* release. I have updated the latest *SVN 420 *to be a *pre-1.4 release*. Please have a look if it builds and installs on your platforms. *SVN 420 *is not yet the official *1.4* GNU package, so build errors can still be fixed befor

Re: [Bug-apl] How to evaluate a block of source like a file?

2014-08-06 Thread Juergen Sauermann
oad seems to succeed, but none of the code in the file seems to be executed. What am I doing wrong here? Or, should I be using InputFile directly? Regards, Elias On 5 August 2014 23:57, Juergen Sauermann mailto:juergen.sauerm...@t-online.de>> wrote: Hi Eli

Re: [Bug-apl] SVN repository of support-files is wrong

2014-08-06 Thread Juergen Sauermann
Hi Blake, sorry, forgot to remove old files. removed in SVN 421. /// Jürgen On 08/06/2014 03:48 PM, Blake McBride wrote: I now realize what is causing some of the keyboard problems I am experiencing. I believe the SVN repository for GNU APL has some problems. It seems when the support-file

Re: [Bug-apl] SVN repository of support-files is wrong

2014-08-06 Thread Juergen Sauermann
as follows: 36c36 < keycode 43 = hH U2206 --- > keycode 43 = hH U2206 U2359 Thanks. Blake On Wed, Aug 6, 2014 at 9:00 AM, Juergen Sauermann mailto:juergen.sauerm...@t-online.de>> wrote: Hi Blake, sorry, forgot to remo

Re: [Bug-apl] This looks wrong

2014-08-06 Thread Juergen Sauermann
e two different approaches: 1. Such assignment will result in foo being a dyadic function, or 2. A niladic lambda can remain niladic when assigned to a variable Regards, Elias On 5 August 2014 23:47, Juergen Sauermann mailto:juergen.sauerm...@t-online.de>> wrote: Hi,

Re: [Bug-apl] Creating a new release

2014-08-06 Thread Juergen Sauermann
that would be great. Regards, Elias On 6 Aug 2014 00:44, "Juergen Sauermann" mailto:juergen.sauerm...@t-online.de>> wrote: Hi Blake, all, thanks. I am almost ready with the *GNU APL 1.4* release. I have updated the latest *SVN 420 *to be a *pre-1.4 release*.

Re: [Bug-apl] Binomial function with extended exact result range beyond that of primitive function

2014-08-06 Thread Juergen Sauermann
Hi Fred, I did a small rework of the monadic *! *function. It should now be exact (well, as exact as *×/⍳N* is) for integer arguments up to 170 (i.e. the max integer before DOMAIN ERROR is thrown), Before it was calling *tgamma()* of *libm*. There are still many cases where GNU APL calls *libm*

Re: [Bug-apl] This looks wrong

2014-08-07 Thread Juergen Sauermann
Hi, actually you can. There are 2 points in time that are relevant: 1. tokenization time (when the statement text is converted into tokens). At this time (in GNU APL) the {} is detected and converted into a (possibly niladic) defined function. 2. execution time (when the statement is execute

Re: [Bug-apl] This looks wrong

2014-08-07 Thread Juergen Sauermann
"it's the function {1⊣⎕←2}" and "you can execute it by typing f and hitting ENTER", but that's clearly not true because when I type f and hit ENTER I don't see the number 2 printed to the session: f 1 Thanks, Jay. On 7 August 2014 11:44, Juergen Sauermann

Re: [Bug-apl] How to evaluate a block of source like a file?

2014-08-07 Thread Juergen Sauermann
Hi Elias, sorry, probably committed it to my local 1.3 .branch rather than to 1.4. Should be in SVN 423 file InputFile.hh. /// Jürgen On 08/07/2014 06:20 AM, Elias Mårtenson wrote: OK, I have updated everything and the code works fine. There is only one more outstanding issue and that is that

Re: [Bug-apl] This looks wrong

2014-08-07 Thread Juergen Sauermann
Hi, for me it is not at all clear why *{1} 0* should eat (and discard) its right argument. In other words why would *{1} 0 *behave differently than *N 0 *with *N* being a niladic function? That would create new rules in the APL syntax without a need. I would rather opt for David's "princi

Re: [Bug-apl] This looks wrong

2014-08-07 Thread Juergen Sauermann
Hi, my point is that there should be no difference between lambdas and defined functions. The reason that the left argument is ignored is that dyadic functions can be called monadically (the presence of the left argument *can* be checked with *⎕NC* but it does not have to be checked.) But ev

Re: [Bug-apl] How to evaluate a block of source like a file?

2014-08-07 Thread Juergen Sauermann
that holds back a 1.4 release. Regards, Elias On 7 August 2014 20:33, Juergen Sauermann mailto:juergen.sauerm...@t-online.de>> wrote: Hi Elias, sorry, probably committed it to my local 1.3 .branch rather than to 1.4. Should be in SVN 423 file InputFile.hh. /// Jürge

[Bug-apl] GNU APL 1.4 released

2014-08-07 Thread Juergen Sauermann
Hello, I am happy to announce that GNU APL 1.4 has been released. This release contains: * an interface to mySQL and Postgres databases (thanks to Elias) * two component file systems as demanded by ISO 13751 (thanks to Blake and David) * a centralized server for shared variables (APserver)

Re: [Bug-apl] GNU APL 1.4 released

2014-08-10 Thread Juergen Sauermann
Hi David, thanks, done. /// Jürgen On 08/08/2014 11:35 PM, David B. Lamkins wrote: Congratulations! Please be sure to announce this on comp.lang.apl. On Thu, 2014-08-07 at 19:57 +0200, Juergen Sauermann wrote:

Re: [Bug-apl] Error installing on UBUNTU 14.04

2014-08-10 Thread Juergen Sauermann
Hi William, thanks, fixed in SVN 428. I have uploaded a new apl_1.4-1_i386.deb file that is hopefully correct. /// Jürgen On 08/09/2014 12:28 PM, WIlliam Main wrote: On Ubuntu 14.04 installing the ftp://ftp.gnu.org/gnu/apl/apl_1.4-1_i386.deb I get the error message The package is of bad qua

Re: [Bug-apl] Updated WASD inkscape layout

2014-08-10 Thread Juergen Sauermann
Hi Blake, thanks, fixed in SVN 429. /// Jürgen On 08/10/2014 06:49 AM, Blake McBride wrote: I updated the graphics for the WASD keyboard. I added the following characters that were missing from the original release: ⍹⍶χ¢£¥ Please replace this file in the distribution located at support-f

Re: [Bug-apl] Error loading a WS with a SI

2014-08-10 Thread Juergen Sauermann
Hi Blake, thanks, fixed in SVN 429. /// Jürgen On 08/10/2014 07:57 AM, Blake McBride wrote: )load Utils SAVED 2014-08-10 00:44:26 (GMT-5) == Assertion failed: pc >= 0 in Function: get_line in file:

Re: [Bug-apl] GNU APL 1.4 released

2014-08-10 Thread Juergen Sauermann
Hello again, unfortunately the announcement below was incorrect. It should have said SQLite instead of mySQL. Sorry for the confusion, Jürgen Sauermann On 08/07/2014 07:57 PM, Juergen Sauermann wrote: Hello, I am happy to announce that GNU APL 1.4 has been released. This release contains

Re: [Bug-apl] APL fill elements

2014-08-10 Thread Juergen Sauermann
Hi Peter, no there isn't. Fill items and Fill functions occur all over the place in APL2. And they are function specific so that ↑ has other fill items (' ' and 0) than + (0) and × (1). On the other hand fill items are not at all related ⎕IO. You can easily achieve what you are after like thi

Re: [Bug-apl] Bad function header causes traceback.

2014-08-10 Thread Juergen Sauermann
Hi David, thanks, fixed in SVN 430. /// Jürgen On 08/07/2014 07:30 PM, David Lamkins wrote: Sorry for the inline code. GMail's web client - for some unknown reason this morning - won't let me attach a file. -- begin lamkins-fnhdr.apl ⍝! ∇foo;a;b ⍝;c 1 ∇ -- end lamkins-fnhdr.apl

Re: [Bug-apl] Binomial function with extended exact result range beyond that of primitive function

2014-08-11 Thread Juergen Sauermann
2014-08-06 at 17:29 +0200, Juergen Sauermann wrote: > Hi Fred, > > I did a small rework of the monadic ! function. It should now be > exact (well, as exact as ×/⍳N is) for integer arguments up to 170 > (i.e. the

[Bug-apl] Power Operator

2014-08-12 Thread Juergen Sauermann
Hi, I have implemented the first shot at the power operator ⍣. SVN 434. /// Jürgen

Re: [Bug-apl] Power Operator

2014-08-13 Thread Juergen Sauermann
(+\ ⍣ ̄¯1) 3 4 9 15 19 3 1 5 6 4 GNU APL: (+\ ⍣ ¯1) 3 4 9 15 19 DOMAIN ERROR (+\⍣¯1)3 4 9 15 19 ^ ^ /Blake McBride/ / / www.arahant.com <http://www.arahant.com/> Cell:615-394-6760 Office: 615-376-5500 Fax: 615-377-6006 On Tue, Aug 12, 2014 at 12:32 PM, J

Re: [Bug-apl] Power Operator

2014-08-13 Thread Juergen Sauermann
Hi Kacper, I believe the VALENCE ERROR comes because = is dyadic and the lambda is monadic? In GNU APL (and in the ISO standard) there is no monadic =, is it? Maybe in Dyalog APL there is? /// Jürgen On 08/13/2014 06:40 PM, Kacper Gutowski wrote: That's interesting thing to see in GNU APL. N

Re: [Bug-apl] Power Operator

2014-08-14 Thread Juergen Sauermann
Hi Kacper, I see. I will look into this after the GHM. /// Jürgen On 08/13/2014 10:59 PM, Kacper Gutowski wrote: On 2014-08-13 19:42:25, Juergen Sauermann wrote: I believe the VALENCE ERROR comes because = is dyadic and the lambda is monadic? In GNU APL (and in the ISO standard) there is

Re: [Bug-apl] Power Operator

2014-08-18 Thread Juergen Sauermann
Hi Kacper, I see (hadn't noticed the expert section in the Dyalog book which explais it). Hopefully fixed in SVN 437. /// Jürgen On 08/13/2014 10:59 PM, Kacper Gutowski wrote: On 2014-08-13 19:42:25, Juergen Sauermann wrote: I believe the VALENCE ERROR comes because = is dyadic an

Re: [Bug-apl] Assertion failure after indexing ⍺ or ⍵

2014-08-18 Thread Juergen Sauermann
Hi Kacper, thanks, fixed in SVN 437. /// Jürgen On 08/16/2014 03:22 PM, Kacper Gutowski wrote: {1=⍵} ,1 1 {1=⍵[1]} ,1 1 {⍵=1} ,1 1 {⍵[1]=1} ,1 == Assertion failed: Avec::is_quad(idname[0])

Re: [Bug-apl] Segfault in empty replicate-assignment

2014-08-18 Thread Juergen Sauermann
Hi Kacper, thanks, fixed in SVN 437. /// Jürgen On 08/15/2014 03:47 AM, Kacper Gutowski wrote: (⍬/X)←⍬ ⊣ X←⍬ SEGMENTATION FAULT -- Stack trace at main.cc:140 ---

Re: [Bug-apl] aplwrap: bell & ANSI controls

2014-08-18 Thread Juergen Sauermann
Hi, it could be a good idea if aplwrap sets the TERM environment variable. Currently it shows xterm (when started from an xterm) which could make GNU APL believe that the ANSI escape sequences would work. /// Jürgen On 08/18/2014 05:27 PM, Blake McBride wrote: I like this! Will it work in

Re: [Bug-apl] A GTK wrapper for GNU APL

2014-08-18 Thread Juergen Sauermann
Hi David, working already I believe: *eedjsa@Server65:~/apl/apl-1.4/src$ ./apl -- myargs and more ... ⎕ARG ./apl -- myargs and more * /// Jürgen On 08/13/2014 10:36 PM, David Lamkins wrote: Here's a feature request: - Provide a means to pass command-line arguments to APL. At the very

Re: [Bug-apl] Possible bugs in ]keyb output

2014-08-18 Thread Juergen Sauermann
Hi, regarding ? vs. ? they are both in ?AV. If I remember correctly I was asked earlier to change from one to the other and did so. Both are listed in Aved.def (called EPSILON_UBAR and EPSILON_UNDERBAR). One of them (probably EPSILON_UNDERBAR) may disappear if the space is needed for new func

Re: [Bug-apl] MacAplAlt.keylayout & updated Installation Guide

2014-08-18 Thread Juergen Sauermann
Hi Peter, I will be happy to create a Mac folder and include your files there. The reason for ⍙ sitting on two keys is that I was so used to ⍙ on Shift-∆ that I left it there (see also the folder called "old-Keyboard" which was my initial keyboard layout (and how I believed it makes the most

Re: [Bug-apl] Error compiling a function

2014-08-19 Thread Juergen Sauermann
Hi Elias, thanks, fixed in SVN 438. /// Jürgen On 08/17/2014 06:11 PM, Elias Mårtenson wrote: OK, I have come up with a way to reproduce this. This is a simplified version of a program started to fail, and

Re: [Bug-apl] Bad quality of the roll function

2014-08-20 Thread Juergen Sauermann
Hi Kacper, thanks for reporting this. Should be improved in SVN 439. /// Jürgen On 08/20/2014 06:47 AM, Kacper Gutowski wrote: Currently GNU APL uses LCG with modulus 2⋆64 and then reduces values modulo desired range. This, beside being slightly biased for ranges not dividing the modulus, yi

Re: [Bug-apl] Bad quality of the roll function

2014-08-20 Thread Juergen Sauermann
Thanks. Blake On Wed, Aug 20, 2014 at 9:07 AM, Juergen Sauermann <juergen.sauerm...@t-online.de> wrote: Hi Kacper, thanks for reporting this. Should be impro

Re: [Bug-apl] Can't break out of quad-quote

2014-08-21 Thread Juergen Sauermann
Hi Blake, thanks, fixed in SVN 440. Single ^C aborts ⍞ and double ^C raises an interrupt. /// Jürgen On 08/14/2014 01:08 AM, Blake McBride wrote:       )CLEAR CLEAR WS       ∇test;x

Re: [Bug-apl] MacAplAlt.keylayout & updated Installation Guide

2014-08-21 Thread Juergen Sauermann
wo. respect… Peter On 2014-08-18, at 12:32 PM, Juergen Sauermann wrote: Hi Peter, I will be happy to create a Mac folder and include your files there. The reason for ⍙ sitting on two keys is that I was so used to ⍙ on Shift-∆ that I left it there (see also the folder called &quo

Re: [Bug-apl] MacAplAlt.keylayout & updated Installation Guide

2014-08-22 Thread Juergen Sauermann
__ You can learn something new every day unless you are very careful! On 2014-08-21, at 9:10 AM, Juergen Sauermann <juergen.sauerm...@t-online

Re: [Bug-apl] Bad quality of the roll function

2014-08-22 Thread Juergen Sauermann
ore expensive than needed and it might make serial correlation even worse. Following the recommendation from Numerical Recipes, I would suggest permuting output with a single iteration of xorshift instead of bit reversal. It would be much faster and much better at the same time. On 2014-08-20 19

Re: [Bug-apl] Assertion failure in evaluated input

2014-08-22 Thread Juergen Sauermann
Hi Kacper, thanks, fixed in SVN 442. /// Jürgen On 08/22/2014 01:56 AM, Kacper Gutowski wrote: When input to ⎕ is empty (just hit enter upon the prompt), it results in assertion failure: ⎕ ⎕: items_allocated

Re: [Bug-apl] Patch: cout buffer control

2014-08-22 Thread Juergen Sauermann
Hi David, thanks, included in SVN 443. This is interesting because I normally use something like out << endl which should have flushed the buffer. On the other hand ⍞ is somewhat special because it prints a prompt but no endl so that the user

Re: [Bug-apl] 80 core performance results

2014-08-22 Thread Juergen Sauermann
the test results? On 11 May 2014 23:02, "Juergen Sauermann" <juergen.sauerm...@t-online.de> wrote:

Re: [Bug-apl] 80 core performance results

2014-08-23 Thread Juergen Sauermann
Elias On 22 August 2014 21:46, Juergen Sauermann <juergen.sauerm...@t-online.de> wrote: Hi Elias, I am working on it. As a preparation I have created a

[Bug-apl] Optimizations revived

2014-08-23 Thread Juergen Sauermann
Hi, I have revived Elias' in-place optimization for A⍴B and ,B now usinng a different way of figuring if B is in use. SVN 445. /// Jürgen

Re: [Bug-apl] Optimizations revived

2014-08-23 Thread Juergen Sauermann
On 23 August 2014 23:29, Juergen Sauermann <juergen.sauerm...@t-online.de> wrote: Hi, I have revived Elias' in-place optimization for A⍴B and ,B now usinng a different way of figuring if

Re: [Bug-apl] Uh oh... SVN 445

2014-08-24 Thread Juergen Sauermann
Hi David, thanks, fixed in SVN 446. /// Jürgen On 08/23/2014 07:27 PM, David Lamkins wrote: I ran into this after updating to 445. This is in a pendent function.  

Re: [Bug-apl] Seeking clues regarding quote-quad prompt

2014-08-24 Thread Juergen Sauermann
Hi David, this could be caused by how the input echo is implemented. If you look at CinOut::overflow(int c) then you will see that the echo of GNU APL input is sent to cerr rather than to cout. The reason was, as far as i remember, that when yo

Re: [Bug-apl] Optimizations revived

2014-08-24 Thread Juergen Sauermann
cessary cloning. Regards, Elias On 24 August 2014 00:01, Juergen Sauermann <juergen.sauerm...@t-online.de> wrote: Hi Elias, normally APL values are not writt

Re: [Bug-apl] Optimizations revived

2014-08-24 Thread Juergen Sauermann
in the first place is indexed assignment? If APL had no such feature, then there would be zero need for cloning, yes? Regards, Elias On 24 August 2014 22:46, Juergen Sauerma

Re: [Bug-apl] Optimizations revived

2014-08-25 Thread Juergen Sauermann
o need for cloning, yes? Regards, Elias On 24 August 2014 22:46, Juergen Sauermann <juergen.sauerm...@t-online.de> wrote: Hi Elias,

Re: [Bug-apl] Patch for quote-quad and aplwrap

2014-08-26 Thread Juergen Sauermann
Hi David, thanks, included in SVN 449. If the point is to get rid of the duplicated prompt on cerr and cout then it might be simpler to disable CIN echo (eg. start apl with --noCIN) instead of matching cout with cerr. /// Jür

Re: [Bug-apl] Patch for quote-quad and aplwrap

2014-08-26 Thread Juergen Sauermann
Hi David, I have started now to replace libreadline. Some things will change and some others, like pushing back to stdin will disapear. /// Jürgen On 08/26/2014 06:41 PM, David B. Lamkins wrote: Thanks, Jü

Re: [Bug-apl] Crash in ⎕SVQ

2014-09-03 Thread Juergen Sauermann
Hi David, thanks, fixed in SVN 450. /// Jürgen On 09/03/2014 01:42 AM, David B. Lamkins wrote: ⎕svq ⍳0 100 210 ⎕svq 100 *** called function get_OFFERED_VARS_ARE__offered_vars() with wrong signal OFFERING_

Re: [Bug-apl] Transitional work on no-readline?

2014-09-04 Thread Juergen Sauermann
Hi David, yes, this is work in progress. I have committed it together with the ⎕SVQ fix. Normally the ANSI sequences should only be visible with --rawCIN which will become the standard mode after libreadline has been removed (soon). A way

Re: [Bug-apl] Transitional work on no-readline?

2014-09-05 Thread Juergen Sauermann
a profile for aplwrap. On Thu, Sep 4, 2014 at 11:23 AM,

Re: [Bug-apl] Transitional work on no-readline?

2014-09-05 Thread Juergen Sauermann
On 5 September 2014 18:27, Juergen Sauermann <juergen.sauerm...@t-online.de> wrote: Hi, I have restored the previous behavior of --rawCIN, except for ungetc() of the prompt (which was a n

[Bug-apl] New Input Mode

2014-09-05 Thread Juergen Sauermann
Hi, as a preparation for the removal of libreadline I have created a new input mode for GNU APL. The first shot (which is still a bit bumpy) is contained in SVN 454. The new mode is enabled with --noRL. It will become the default (and --n

Re: [Bug-apl] start-up difficulty

2014-09-06 Thread Juergen Sauermann
Hi Bernard, the quick answer is this: 1. make sure your keyboard side is set up properly (see README--3-keyboard for further hints on that). 2. To open a function, say foo with one argument, do this (inside GNU APL):   ∇foo B

Re: [Bug-apl] New Input Mode

2014-09-06 Thread Juergen Sauermann
;foo' 'foo' foo Regards, Elias On 6 September 2014 02:15, Juergen Sauermann <juergen.sauerm...@t-online.de> wrote: Hi,

Re: [Bug-apl] Readline elimination feedback

2014-09-06 Thread Juergen Sauermann
Hi Blake, 1. seems to work on my machine (SVN 455, with or without readline installed): 2. fixed in SVN 456 (for readline, already worked for --noRL) 3. also seems to work as of SVN 455. Please make sure you use --noRL because the cur

Re: [Bug-apl] Patch for aplwrap compatibility

2014-09-06 Thread Juergen Sauermann
Hi David, I believe I found (and fixed) another source of ESC sequences in --rawCIN mode, SVN 457. I also tried aplwrap on my machine - looks good. /// Jürgen On 09/05/2014 11:14 PM, David Lamkins wrote:

Re: [Bug-apl] Readline elimination feedback

2014-09-06 Thread Juergen Sauermann
ach keystroke. Thanks. Blake On Sat, Sep 6, 2014 at 7:58 AM, Juergen Sauermann <juergen.sauerm...@t-online.de> wrote:

Re: [Bug-apl] Feedback

2014-09-07 Thread Juergen Sauermann
Hi Blake, )LIBS with an argument sets the directory below which some of the library reference numbers are searched:   )LIBS Library root: /home/eedjsa/apl/apl-1.4/src Library reference number mapping: -

Re: [Bug-apl] MacAplAlt.keylayout & updated Installation Guide

2014-09-07 Thread Juergen Sauermann
(but we don't ned to do that)          file:    respect…. Peter On 2014-08-22, at 9:00 AM, Juergen Sauermann <juergen.sauerm

Re: [Bug-apl] Stack track on function trace

2014-09-07 Thread Juergen Sauermann
Hi Blake, hopefully fixed in SVN 461. /// Jürgen On 09/07/2014 04:54 AM, Blake McBride wrote: I was tracing a function when I got: Picd[6]  9/06/2014 Picd[8] *this:      

Re: [Bug-apl] Not setting stty on crash

2014-09-07 Thread Juergen Sauermann
Hi Blake, fixed in SVN 461. /// Jürgen On 09/07/2014 04:58 AM, Blake McBride wrote: Greetings, After the crash I reported in my previous email, my terminal was set incorrectly.  I h

Re: [Bug-apl] Feedback

2014-09-08 Thread Juergen Sauermann
/usr/someotherdir To change where lib 6 points to. Thanks. Blake On Sun, Sep 7, 2014 at 8:17 AM, Juergen Sauermann <juergen.sauerm...@t-online

Re: [Bug-apl] Issue with trace

2014-09-08 Thread Juergen Sauermann
Hi Blake, thanks, fixed in SVN 463. /// Jürgen On 09/07/2014 09:18 PM, Blake McBride wrote: GNU APL:       ∇test [1] →⍳0 [2] →⍳0 [3] ∇      

<    2   3   4   5   6   7   8   9   10   11   >