Re: The way to suppress a trailing new line

2024-11-10 Thread Dr. Juergen Sauermann
Hi Koki, I believe that GNU APL adds a newline at the end of the program as part of the restoration of terminal properties before apl was started. It is, in general, not desirable if a program may ends with an incomplete output lin A simple way to fix this might be e.g.: *apl --silent --noCIN

Re: Selective specification with Quad IO fails

2024-08-28 Thread Dr. Juergen Sauermann
eley, CA'     ((⎕IO+(⊂0 3))⊃APL_DATA)←'1543 Spruce St.'     ((⎕IO+(⊂1 0))⊃APL_DATA)←'Jane Doe'     ((⎕IO+(⊂1 2))⊃APL_DATA)←'Berkeley, CA'     ((⎕IO+(⊂1 3))⊃APL_DATA)←'1543 Spruce St.' when )DUMPed. Good point / reminder  for *x['y']  <=> 

Re: Selective specification with Quad IO fails

2024-08-25 Thread Dr. Juergen Sauermann
Hi again, sorry, (1⊃x['y']) does not work either with selective specification. On 8/25/24 17:57, Dr. Juergen Sauermann wrote: Hi Hans-Peter, according to the IBM language reference page 41 is selective specification limited to specific functions, and *'.'* is unfortuna

Re: Selective specification with Quad IO fails

2024-08-25 Thread Dr. Juergen Sauermann
Hi Hans-Peter, according to the IBM language reference page 41 is selective specification limited to specific functions, and *'.'* is unfortunately not one of them. I will look into making this working, but it could be tricky and take a while, In the meantime you could use *x['y']* instead of

Re: [Bug-apl] ⎕PLOT

2018-12-07 Thread Juergen Sauermann
== Machine is x86_64 Debian 9, apt-get update && apt-get upgrade as of this morning: Linux pgvm 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u6 (2018-10-08) x86_64 GNU/Linux Cheers Patrick - Original Message - From: "Juergen Sauermann" To: bug-apl@gnu.org Sent: We

[Bug-apl] ⎕PLOT

2018-12-05 Thread Juergen Sauermann
Hi, I have added a new system function ⎕PLOT in SVN 1104. With that function you can easily plot APL vectors and matrices (requires X). See: info apl for details. Enjoy, /// Jürgen s

Re: [Bug-apl] Java/JNI bindings

2018-11-13 Thread Juergen Sauermann
Hi Jerome, looking at https://en.wikipedia.org/wiki/Java_Native_Interface and in particular at https://en.wikipedia.org/wiki/SWIG tt should be fairly simple to call libapl from Java. I am not a Java programmer myself (I tried it 20 years ago but the

Re: [Bug-apl] Index function returns extra elements.

2018-11-05 Thread Juergen Sauermann
Hi Hans-Peter, I tried to check your example with IBM APL2 and it gives me a RANK ERROR on ((∊2=⍴¨x)/,s)⌷x ⍴((∊2=⍴¨x)/,s) is 3 and ⍴x is 4 4. I have earlier noticed some differences in nesting levels between different APL interpreters that could be traced bac

Re: [Bug-apl] Stack trace with EQUAL

2018-11-04 Thread Juergen Sauermann
Hi Hans-Peter, thanks, fixed in SVN 1093. Best Regards, /// Jürgen On 11/04/2018 04:45 PM, Hans-Peter Sorge wrote: Hello Jürgen, This looks rather simple ...   )clear CLEAR WS   ' '=⊂⊂'yy' =

Re: [Bug-apl] SYSTEM LIMIT not detected

2018-11-01 Thread Juergen Sauermann
Hi Hans-Peter, thank you dor reporting this. See my questions/comments below. On 11/01/2018 01:53 PM, Hans-Peter Sorge wrote: Hello Jürgen, here comes an other corner case. The following two cases work as expected.   (⍳16)⍴'a' SYS

Re: [Bug-apl] startup time, and, is there a way to run under FastCGI?

2018-10-19 Thread Juergen Sauermann
Message - From: "Juergen Sauermann" To: "Patrick Giagnocavo" , bug-apl@gnu.org Sent: Tuesday, October 16, 2018 3:02:59 PM GMT -07:00 US/Canada Mountain Subject: Re: [Bug-apl] startup time, and, is there a way to run under FastCGI? Hi, fixed in SVN 1083 . Time is down t

Re: [Bug-apl] startup time, and, is there a way to run under FastCGI?

2018-10-16 Thread Juergen Sauermann
    (365 12 30 24 60 60 1000⊥⎕TS-T) 'ms'  11 ms /// Jürgen On 10/16/2018 08:00 PM, Juergen Sauermann wrote: Hi Patrick, as far as I can see most of the time is spent in the

Re: [Bug-apl] startup time, and, is there a way to run under FastCGI?

2018-10-16 Thread Juergen Sauermann
Hi Patrick, as far as I can see most of the time is spent in the WITHOUT function (A∼B):   F5000←⊂[2]'0123456789'[?5000 10⍴10]   F1750←⊂[2]'0123456789'[?1750 10⍴10]   WITHOUT:   T←⎕TS  

Re: [Bug-apl] bad character in execute+

2018-10-08 Thread Juergen Sauermann
7: note: 'class Executable' defined here  class Executable    ^~ Thanks, Hans-Peter Am 01.10.18 um 17:17 schrieb Juergen Sauermann: Hi Kacper, thanks, fixed in *SVN 1082*. /// Jürgen On 10/01/2018 01:11 AM, Kacper Gutowski wrote: On Sun, Sep 30, 2018 at

Re: [Bug-apl] bad character in execute+

2018-10-01 Thread Juergen Sauermann
Hi Kacper, thanks, fixed in *SVN 1082*. /// Jürgen On 10/01/2018 01:11 AM, Kacper Gutowski wrote: > On Sun, Sep 30, 2018 at 03:42:53PM -0600, Nathan Rogers wrote: >> When using the diamond operator, the repl returns "bad character in >> execute+" >> >> simple example: \ >> {1:2◊3} >> Bad char

Re: [Bug-apl] Assertion failure in setup_one_lambda

2018-10-01 Thread Juergen Sauermann
Hi Kacper, thanks, fixed in SVN 1082. /// Jürgen On 10/01/2018 01:48 AM, Kacper Gutowski wrote: Hi, Tokenizer fails to catch unbalanced brackets when input is just "{⋄}" which triggers assertion in setup_one_lambda: {

Re: [Bug-apl] bug report

2018-09-30 Thread Juergen Sauermann
Hi Nathan, thanks for reporting this. The error has been corrected already, please fetch the latest GNU APL from SVN. See https://savannah.gnu.org/svn/?group=apl. /// Jürgen On 09/30/2018 03:59 AM, Nathan Rogers

[Bug-apl] ⊢[X]

2018-08-27 Thread Juergen Sauermann
Hi, I have added a new primitive function variant: ⊢ with axis. ⊢ with axis selects, according to its axis argument, its left argument, or its right argument, or a mix of items from both arguments:   A←2 3⍴'abcdef' ⍝ left va

Re: [Bug-apl] #!apl

2018-08-24 Thread Juergen Sauermann
Hi, your example looks like you are not waiting until ⎕SVO has succeeded. You assign to a shared variable before it was entered into the shared variable database. Have a look at testcases/AP100.tc for how to use it (hint: check the

Re: [Bug-apl] #!apl

2018-08-22 Thread Juergen Sauermann
Hi Kacper, I have not documented the aplscript trick because I see it more as a hack that helps in a specific situation than a fully supported feature. A general problem of symbolic links to the apl binary (which was the use case for introducing the

Re: [Bug-apl] #!apl

2018-08-21 Thread Juergen Sauermann
/// Jürgen On 08/21/2018 07:18 PM, Hudson Flavio Meneses Lacerda wrote: On Tue, 21 Aug 2018 18:36:27 +0200 Juergen Sauermann wrote: Hi Hudson, Hi, aas far as I know you can use a relative path to apl as long as the apl bi

Re: [Bug-apl] #!apl

2018-08-21 Thread Juergen Sauermann
quot; ⍝-- '⍝ Body of script' ⎕RL←×/⎕TS~0 ?⍨ 20 '⍝ End of script' )off -->8--- (That can work fine with bash or dash, but not with sash.) By the way, why APL files need to start with "#!" to b

Re: [Bug-apl] #!apl

2018-08-21 Thread Juergen Sauermann
Hi Hudson, you can ./configure GNU APL with prefix=/usr and then recompile and install. /// Jürgen On 08/21/2018 03:34 AM, Hudson Flavio Meneses Lacerda wrote: Hi. Some of my scripts use `#!/usr/bin/apl --script

Re: [Bug-apl] async syscall

2018-08-18 Thread Juergen Sauermann
Hi Kacper, cool, thanks. Didn't know that trick. /// Jürgen On 08/18/2018 08:17 PM, Kacper Gutowski wrote: On Sat, Aug 18, 2018 at 02:14:35PM -0300, Hudson Flavio Meneses Lacerda wrote: How to run a subproces

Re: [Bug-apl] async syscall

2018-08-18 Thread Juergen Sauermann
Hi Hudson, You may want to try ⎕FIO[57] or similar (read: ⎕FIO[24] aka. popen() and ⎕FIO[25] aka. pclose() if the communication with the new process is unidirectional). The & is a shell feature that is not available if a command is

Re: [Bug-apl] edif update / ⎕IO is 0

2018-08-16 Thread Juergen Sauermann
Hi Hans-Peter, thanks, hopefully fixed in SVN 1069. Best Regards, /// Jürgen On 08/16/2018 07:29 PM, Hans-Peter Sorge wrote: Hello, The ⎕IO bug  is back. (note: ⎕IO ←→ 0 seems to be set to 0 u

Re: [Bug-apl] Yet another editor thingy.

2018-08-11 Thread Juergen Sauermann
Chris On 10/08/18 09:11, Juergen Sauermann wrote: Hi Chris, does that mean that I can revert the patch that I have put in for edif recently? Best Regards,

[Bug-apl] ⎕GTK

2018-08-10 Thread Juergen Sauermann
Hi, I have added a new system function ⎕GTK to GNU APL. ⎕GTK is based on libgtk+ version 3 and provides a simple (and therefore somewhat restricted) way of creating and  managing GUIs from an APL program. Think of it as a replaceme

Re: [Bug-apl] Yet another editor thingy.

2018-08-10 Thread Juergen Sauermann
Hi Chris, does that mean that I can revert the patch that I have put in for edif recently? Best Regards, /// Jürgen On 08/07/2018 07:09 PM, Chris Moller wrote: Hans-Peter, If you want to try it again

Re: [Bug-apl] Yet another editor thingy.

2018-08-02 Thread Juergen Sauermann
cluded in the workspace with: >>> >>>     'libedif.so' ⎕fx 'edif' >>>     >>> and edif2 with: >>> >>>     'libedif2.so' ⎕fx 'edif2' >>> >>> Of course, you can use any function names you like and

Re: [Bug-apl] quad IO bug

2018-08-02 Thread Juergen Sauermann
Hi, fixed in *SVN 1061*. /// Jürgen On 08/02/2018 04:13 PM, Juergen Sauermann wrote: > Hi > > I can now reproduce it, it seems to occur only on 64 bit machines > (strange enough). > I will look into it. > > /// Jürgen > > > > On 08/02/2018 03:25 PM, Hans-Pete

Re: [Bug-apl] quad IO bug

2018-08-02 Thread Juergen Sauermann
  ⍎'qio_test'  1   ⍎¨⊂'qio_test'  0 Greetings Hans-Peter Am 02.08.2018 um 14:23 schrieb Juergen Sauermann: Hi Hans-Peter, interestin

Re: [Bug-apl] quad IO bug

2018-08-02 Thread Juergen Sauermann
Hi Hans-Peter, interesting. I am getting this:   ∇qio_test[⎕]∇     ∇ [0]   qio_test [1]   ⎕IO     ∇   ⍎¨'qio_test' 'qio_test' 1 1 Which SVN version are you using? ///

Re: [Bug-apl] Yet another editor thingy.

2018-07-30 Thread Juergen Sauermann
Hi Chris, thanks, done in SVN 1060. /// Jürgen On 07/30/2018 03:59 PM, Chris Moller wrote: Here's an even simpler, more direct, patch: Index: LineInput.cc =

[Bug-apl] HOWTOs

2018-07-28 Thread Juergen Sauermann
Hi, I have added a new directory named  HOWTOs for descriptions of how not-so-obvious things can be done in GNU APL. The first file in that directory is Peter's Macintosh document which was copied from the doc directory. The second file is a ne

[Bug-apl] emails

2018-07-25 Thread Juergen Sauermann
Hi, I have now switched anything off in my email program that is even remotely related to encryption. I will be AFK for two days and send the next email after that. Best Regards, /// Jürgen

Re: [Bug-apl] FIO[57]

2018-07-25 Thread Juergen Sauermann
, Blake McBride wrote: All we're getting is an empty email with two attachments:  noname & encrypted.asc On Wed, Jul 25, 2018 at 11:55 AM Juergen Sauermann <juergen.sauerm...

Re: [Bug-apl] FIO[57]

2018-07-25 Thread Juergen Sauermann
binianRHZN5rO.bin Description: PGP/MIME version identification encrypted.asc Description: OpenPGP encrypted message

[Bug-apl] Quad-FIO[57] Take 3

2018-07-24 Thread Juergen Sauermann
Hi, I have added a new ⎕FIO[57] aka. FIO∆execve to GNU APL.   Handle←⎕FIO[57] Filename forks a new process running program Filename and connects it to GNU APL. GNU APL and the new program can then communicate using Hand

Re: [Bug-apl] FIO[57]

2018-07-24 Thread Juergen Sauermann
this type of email. I don’t understand why. > > respect… > > Peter >> On Jul 24, 2018, at 3:38 PM, Juergen Sauermann >> wrote: >> >> > signature.asc Description: OpenPGP digital signature

[Bug-apl] Quad-FIO[57] Take 2

2018-07-24 Thread Juergen Sauermann
binvBweryF7Yo.bin Description: PGP/MIME version identification encrypted.asc Description: OpenPGP encrypted message

[Bug-apl] FIO[57]

2018-07-24 Thread Juergen Sauermann
binuuE2Puesp6.bin Description: PGP/MIME version identification encrypted.asc Description: OpenPGP encrypted message

Re: [Bug-apl] Another trivial g++ 8.1.1 incompatibility

2018-07-22 Thread Juergen Sauermann
Hi Chris, thanks, fixed in SVN 1057. /// Jürgen On 07/21/2018 05:05 PM, Chris Moller wrote: This is the same as the last batch--don't know how I  missed it the first time: Inde

Re: [Bug-apl] Request for ]version

2018-07-21 Thread Juergen Sauermann
bin6ixwN92Lz7.bin Description: PGP/MIME version identification encrypted.asc Description: OpenPGP encrypted message

Re: [Bug-apl] Yet another editor thingy.

2018-07-18 Thread Juergen Sauermann
Hi Chris, thank you for contributing this. I have added a link on our community page http://www.gnu.org/software/apl/Community.html. I believe the function would be even more useful it could create or modify an APL function in a running workspace r

Re: [Bug-apl] libapl load - a makefile question.

2018-07-12 Thread Juergen Sauermann
Hi Peter, I suppose the line libapl_la_LDFLAGS += -avoid-version in src/Makefile.am prevents the creation of libapl.0.dylib. I suppose if you remove that line then libapl.0.dylib will show up.   Please note that libapl.0.dy

Re: [Bug-apl] libapl load - Simple proof of success - end of stage 1

2018-07-10 Thread Juergen Sauermann
Hi Peter, congratulations! And thanks for effort that you have put into this. /// Jürgen signature.asc Description: OpenPGP digital signature

Re: [Bug-apl] Possible bug in APL

2018-07-03 Thread Juergen Sauermann
ything. Chris On 26/06/18 13:43, Juergen Sauermann wrote: Hi Chris, the svn E155007 happens if you unpack a GNU APL tar file (as opposed to checking out GNU APL f

Re: [Bug-apl] libapl load problem....UPDATE 8

2018-07-02 Thread Juergen Sauermann
hecks for the operating system and chooses the correct extension based on it. If you ever wish to support Windows in the future, they use .DLL. On 2 July 2018 at 22:15, Juergen Sauermann <juergen.sauerm...@t-o

Re: [Bug-apl] libapl load problem....UPDATE 8

2018-07-02 Thread Juergen Sauermann
ib name. This conforms to Apple’s Dynamic Libraries Programming Topics documentation So far so good… I will now proceed with the original experiment…. Thanks for the help and support….. respect…. Peter On Jun 30, 2018, at 6:00 AM, Juergen Sauermann wrote: Hi Peter,

Re: [Bug-apl] libapl load problem....UPDATE 8

2018-07-01 Thread Juergen Sauermann
Hi Peter, great! My conclusion is that one or more of the linker options -module, -shared, and -export-dynamic has caused the problem. I have removed these options for all libraries now, hoping that they are not needed by other people. I left -avoid-

Re: [Bug-apl] libapl load problem....UPDATE 7

2018-06-30 Thread Juergen Sauermann
Hi Peter, if I compare the rules in Makefile.am for the libraries mentioned below, then it seems like there is one line which sets the xxx_la_LDFLAGS for those libraries xxx that then fail to properly build the dylibs. Removing that line may fix your

Re: [Bug-apl] Possible bug in APL

2018-06-26 Thread Juergen Sauermann
t.net 4.16.13-300.fc28.x86_64 #1 SMP Wed May 30 14:31:00 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux [0] ~/Downloads/apl-1.7 > I'm no C++ guy, but I was going to look more closely into this when I got time.  I've had other recent

Re: [Bug-apl] Possible bug in APL

2018-06-25 Thread Juergen Sauermann
Hi Chris, even after a close look at the GNU APL code I can't see anything wrong with how realpath() is being called. To me it looks more like a bug in glibc 2.3, although the valgrind message suggests that this bug causes no harm (a memory are

Re: [Bug-apl] libapl load problem....UPDATE 2

2018-06-15 Thread Juergen Sauermann
Jun 13, 2018, at 2:49 PM, Juergen Sauermann wrote: Hi Peter, I don't know what a MH_BUNDLE vs. a MH_DYLIB is but meybe this helps: https://github.com/yallop/ocaml-ctypes-inverted-stubs-example/issues/4 /// Jürgen On 06/13/2018 09:26 PM, Peter Teeson wrote: Hi Jürgen:

Re: [Bug-apl] libapl load problem....UPDATE 2

2018-06-13 Thread Juergen Sauermann
IB) file '.libs/libapl.so' for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Re: [Bug-apl] libapl load problem....UPDATE 2

2018-06-13 Thread Juergen Sauermann
Hi Peter, a simple C program, say libapl_test.c  would be this: #include "libapl.h" int main(int argc, char * argv[]) {    init_libapl(argv[0], 0);    return apl_exec("⎕←2 3⍴⍳6"); }

Re: [Bug-apl] A Make target just for libapl

2018-06-13 Thread Juergen Sauermann
Hi Peter, no, the make all target builds libapl if ./configure'd to do so: 1.   ./configure --with-libapl 2.   make all 3.   sudo make install Step 3. is kind of optional: in copies the libraries to the installati

Re: [Bug-apl] GNU APL -1.7 source code bug

2018-06-01 Thread Juergen Sauermann
Hi Kevin, thanks for reporting this. It looks like an old issue that has been corrected in the meantime. Please use the latest GNU APL version from the GNU APL subversion repository (see https://savannah.gnu.org/svn/?group=apl) /// Jürgen

Re: [Bug-apl] libapl load problem....UPDATE 3

2018-05-27 Thread Juergen Sauermann
— back in > the 60’s. > Never needed to for Macintosh….or anyUnix for that matter. > > respect > > Peter > On May 25, 2018, at 8:48 AM, Juergen Sauermann > mailto:juergen.sauerm...@t-online.de>> > wrote: >> >> Hi Peter, >> >> I am not familiar

Re: [Bug-apl] Disclose and enlist of empty arrays

2018-05-27 Thread Juergen Sauermann
Hi Kacper, thanks, fixed in SVN 1053. /// Jürgen On 05/26/2018 12:07 PM, Kacper Gutowski wrote: Hi, Thanks for the division fixes. I'm not sure if the below are outright bugs, but I find these rather unexpected: A←'a

Re: [Bug-apl] Quad_SVx.cc some border line condition.

2018-05-25 Thread Juergen Sauermann
Hi Hans-Peter, these changes were introduced recently and only to suppress newly introduced warnings in gcc 8.1. So, yes, line 3 does nothing, but in order to suppress the warnings one has to use the return value of snprintf somehow. The

Re: [Bug-apl] libapl load problem....UPDATE 3

2018-05-25 Thread Juergen Sauermann
correct? Thanks & respect… Peter On May 20, 2018, at 4:59 PM, Dirk Laurie wrote: 2018-05-20 21:44 GMT+02:00 Juergen Sauermann : As far as I understand, there are two ways to link libapl with your application: 1. link it at compile time (with the -lapl link

Re: [Bug-apl] Issues building with GCC 8.1.1

2018-05-25 Thread Juergen Sauermann
et(this, 0, sizeof(Svar_record)); } ^ Svar_record.hh:174:8: note: 'struct Svar_record' declared here struct Svar_record ^~~ cc1plus: all warnings being treated as errors make[3]: *** [Makefile:1176: libapl_la-Archive.lo] Error 1 Fred Weigel On Thu, 2018

Re: [Bug-apl] Issues building with GCC 8.1.1

2018-05-24 Thread Juergen Sauermann
Hi Fred, thanks, hopefully fixed in SVN 1051. The -Wclass-memaccess warning is not documented in the gcc 8,1 manual, therefore the warnings in Svar_record.cc and/or Svar_record.hh may have survived my attempt to fix them. If so, then please send

Re: [Bug-apl] Division by zero in floats and complex

2018-05-23 Thread Juergen Sauermann
Hi Kacper, thanks, fixed in SVN 1050. /// Jürgen On 05/23/2018 04:20 AM, Kacper Gutowski wrote: Hi, I'm pretty sure it worked at some point before, but now (r1049) I encountered the following: 1.1÷0 ⍝ should signal DOMAIN

Re: [Bug-apl] an other inner product ,., bug

2018-05-21 Thread Juergen Sauermann
return ⊂13 14 which seems more sensible. I am not sure why ISO has (or needs) that special case. It seems wrong to me. Jay. On 18 May 2018 at 16:03, Juergen Sauermann <juergen.sauerm...@t-online

Re: [Bug-apl] libapl load problem....UPDATE 2

2018-05-20 Thread Juergen Sauermann
On May 20, 2018, at 9:40 AM, Juergen Sauermann <juergen.sauerm...@t-online.de> wrote: Hi Peter,

Re: [Bug-apl] libapl load problem....UPDATE

2018-05-20 Thread Juergen Sauermann
Hi Peter, thanks, I have added  a typedef in libapl.h. SVN 1049. /// Jürgen On 05/19/2018 09:53 PM, Peter Teeson wrote: Thank you all for your replies. I removed the configure arg —with-android. Now there

Re: [Bug-apl] an other inner product ,., bug

2018-05-18 Thread Juergen Sauermann
Hi Jay, yes. Even worse: there is another subtle difference in the inner products of IBM APL2 and the ISO standard. IBM APL2 states (language reference, page 165) and also does this: A f.g B  ←→  f/¨ (⊂[⍴⍴A]A) ∘.g ⊂[1]B The

Re: [Bug-apl] libapl load problem....

2018-05-17 Thread Juergen Sauermann
Hi Peter, Not sure. First of all, GNU APL does not use the symbol _CERR, only CERR without underscore. However, sometimes linkers add a leading underscore to symbol names under certain circumstances, snf I duppodr thst is the case here. N

Re: [Bug-apl] an other inner product ,., bug

2018-05-17 Thread Juergen Sauermann
Hi David, GNU APL shows the same behavior as IBM APL2 (except that the IBM result is nested one more level)):   1 2 3,.,4 5 6  1 2 3 4 5 6   ⍴1 2 3,.,4 5 6   ≡1 2 3,.,4 5 6 2   4 ⎕

Re: [Bug-apl] Would a more helpful error message be possible?

2018-05-14 Thread Juergen Sauermann
Hi Dirk, thank you very much for your proposal. Introducing new errors in GNU APL would also require new error numbers in ⎕ET and friends, and that could break existing programs of other GNU APL users. For that reason I took a differ

Re: [Bug-apl] Beginner question: assigning functions to variables

2018-04-30 Thread Juergen Sauermann
Hi Kaspar, GNU APL closely follows IBM APL2 and the ISO standard for APL. Your syntax below is not valid in APL2 or in ISO APL. The IBM APL2 documentation used to be downloadable from IBM's APL2 web page (file apl2lrm.pdf). In theo

Re: [Bug-apl] inner product -.= bug

2018-04-21 Thread Juergen Sauermann
Hi David, thanks, fixed in SVN 1046. /// Jürgen On 04/20/2018 10:16 PM, David Tran wrote: Hi,   a ← 2 3 5 6   b ← 4 5 5 6   a -.= b ¯2

Re: [Bug-apl] Quad ES message too long

2018-04-16 Thread Juergen Sauermann
Hi again I have analyzed the problem and it looks like the GNU APL behavior is sort of correct even though not very elegant. The background is this: IBM APL2 says (see ⎕ES, page 282 in the language reference manual): When R Is a Ch

Re: [Bug-apl] Quad ES message too long

2018-04-16 Thread Juergen Sauermann
Hi Bill, I can;t really tell what your program is doing and how the fault resp. feature can be reproduced in a simpler way. What I observed is, however, that the failed line seems to be the only one where proto is a character scalar: Work

Re: [Bug-apl] Why not reset color for cout by default?

2018-02-01 Thread Juergen Sauermann
not usable. Best Reghards, /// Jürgen On 02/01/2018 04:22 PM, Elias Mårtenson wrote: I thought the default was to use the terminfo data? I recall submitting a patch for that long ago?  On 1 Feb 2018 11:07 pm, "Ju

Re: [Bug-apl] Why not reset color for cout by default?

2018-02-01 Thread Juergen Sauermann
Hi Clouds, thanks, fixed in SVN 1044. Please note that there is a zoo of vt100 compatible terminals around that differ considerably in terms of the colour schemes that they support. The only reliable way to handle this in a "portable" way

Re: [Bug-apl] Support for help command in emacs-mode

2018-01-19 Thread Juergen Sauermann
Hi, thanks, included in SVN 1043. I had to make a small change in RunCommand.cc, so maybe Elias wants to sync once more. Best Regards, /// Jürgen On 01/19/2018 09:51 AM, Alexey Veretennikov wrote:

Re: [Bug-apl] Hang in Residue

2018-01-09 Thread Juergen Sauermann
On 8 January 2018 at 12:26, Juergen Sauermann <juergen.sauerm...@t-online.de> wrote: Hi Jay, maybe SVN 1036 works better.

Re: [Bug-apl] Hang in Residue

2018-01-08 Thread Juergen Sauermann
he information you need? https://en.m.wikipedia.org/wiki/IEEE_754 On 9 Jan 2018 12:14 am, "Juergen Sauermann" <juergen.sauerm...@t-online.de> wrote: Hi Jay, I am still puzzled by the ISO description (and can

Re: [Bug-apl] Hang in Residue

2018-01-08 Thread Juergen Sauermann
seems very wrong. Jay. On 8 January 2018 at 11:49, Juergen Sauermann <juergen.sauerm...@t-online

Re: [Bug-apl] Hang in Residue

2018-01-08 Thread Juergen Sauermann
. Jay. On 8 January 2018 at 11:49, Juergen Sauermann <juergen.sauerm...@t-online.de> wrote: Hi Jay, thanks, fixed in SVN 1035.

Re: [Bug-apl] Hang in Residue

2018-01-08 Thread Juergen Sauermann
principle applies.) Jay. On 6 January 2018 at 11:56, Juergen Sauermann <juergen.sauerm...@t-online.de> wrote: Hi,

Re: [Bug-apl] Support for help command in emacs-mode

2018-01-07 Thread Juergen Sauermann
Hi, On 01/07/2018 05:52 PM, Elias Mårtenson wrote: To me, it's a lot better if the primary code stays in the main GNU APL repository. Agreed. The current problem is that your git repository is a little behind the main GNU APL repository. I made some code clean-ups already some time ago whic

Re: [Bug-apl] Support for help command in emacs-mode

2018-01-07 Thread Juergen Sauermann
en the GNU APL repo and Elias' git would remain out of sync, which is generally undesirable. /// Jürgen On 01/07/2018 05:29 PM, Alexey Veretennikov wrote: Hi, The files I've attached are based on the sources from SVN, not git. Br /Alexey On Jan 7, 2018 4:52 PM, "Juergen Sauerman

Re: [Bug-apl] Quad-PS and dump files

2018-01-07 Thread Juergen Sauermann
Hi Blake, thanks, fixed in SVN 1034. /// Jürgen On 01/07/2018 03:42 PM, Blake McBride wrote: Just FYI - I had to update all of my dump'ed workspaces (with VI) because quad-PS changed from a scalar to a

Re: [Bug-apl] Small anomaly in dump format

2018-01-07 Thread Juergen Sauermann
Hi Blake, fixed in SVN 1033. /// Jürgen On 01/07/2018 01:50 AM, Blake McBride wrote: Hi. I was updating some dump files and noticed a small change that I'd think was uninte

Re: [Bug-apl] Support for help command in emacs-mode

2018-01-07 Thread Juergen Sauermann
tory is the official source. Regards, Elias On 7 January 2018 at 22:53, Juergen Sauermann <juergen.sauerm...@t-online.de> wrote: Hi, it seems like Elias' sou

Re: [Bug-apl] Support for help command in emacs-mode

2018-01-07 Thread Juergen Sauermann
Hi, it seems like Elias' sources in git are slightly out of sync with the current GNU APL sources. For example (emacs.hh around line 55): -    return string((const char *)&utf[0], utf.size()); +    return string((const char *)(utf.g

Re: [Bug-apl] Help.def format

2018-01-06 Thread Juergen Sauermann
bably it is not necessary? Juergen Sauermann writes: Hi Alexey, I have added a description of the help_def() parameters at the beginning of Help.def. SVN 1031. /// Jürgen On 01/06/2018 12:05 PM, Alexey Veretennikov wrote: First mail was declined by the mail server by some reason.

Re: [Bug-apl] Help.def format

2018-01-06 Thread Juergen Sauermann
Hi Alexey, I have added a description of the help_def() parameters at the beginning of Help.def. SVN 1031. /// Jürgen On 01/06/2018 12:05 PM, Alexey Veretennikov wrote: First mail was declined by the mail server by som

Re: [Bug-apl] execute each takes exponential time

2018-01-06 Thread Juergen Sauermann
Hi Hans-Peter, thanks for reporting this. Fixed in SVN 1030. /// Jürgen On 01/05/2018 05:05 PM, Hans-Peter Sorge wrote: running < ⍎¨ 10 ⍴'0' > takes 2 sec running < ⍎¨ 50 ⍴'0' > takes 72 sec On a Lenovo W5

Re: [Bug-apl] Hang in Residue

2018-01-06 Thread Juergen Sauermann
Jay. On 5 January 2018 at 15:24, Xiao-Yong Jin <jinxiaoy...@gmail.com> wrote: 1e¯200|1e200 hangs on my mac. > On Jan 5, 2018, at 6:57 AM, Juergen Sauermann <juergen.sauerm

Re: [Bug-apl] Hang in Residue

2018-01-05 Thread Juergen Sauermann
Hi Jay, hmm, interesting. I am getting this:   A←(-⌽A),0,A←1e¯200 1e¯100 1 1e100 1e200   A∘.|A  0E0    0E0    0  0E0 0E0    0 0E0    0E0    0 0E0   0E0  0E0    0E0    0  0E0 0E0    0 0E0    0E0    0 0E0   0

Re: [Bug-apl] Cannot find libemacs on older mac

2017-12-12 Thread Juergen Sauermann
, Could you please hint me how to specify these flags so I can experiment myself? Br, /Alexey 2017-12-11 16:19 GMT+01:00 Juergen Sauermann <juergen.sauerm...@t-online.de>: Hi

Re: [Bug-apl] Cannot find libemacs on older mac

2017-12-11 Thread Juergen Sauermann
to exprt the variable before starting apl. Regards, Elias On 4 December 2017 at 01:56, Juer

Re: [Bug-apl] [Reproducible builds] add support for SOURCE_DATE_EPOCH

2017-12-05 Thread Juergen Sauermann
case they want to jump in and call me out :) And yes, I think this has come up for other projects too, hence the proposal of the S_D_E environment variable (for both setting a build date and to indicate that this build should be reproducible). Thanks again! -Santiago. On Tue, Dec 05, 2017 at

Re: [Bug-apl] Crash when trying to run illegal code

2017-12-05 Thread Juergen Sauermann
Hi Elias, thanks, fixed in SVN 1025. Best Regards, /// Jürgen On 12/05/2017 11:46 AM, Elias Mårtenson wrote: I made a typo and was presented with an APL stack trace which suggests a bug in GNU APL.

  1   2   3   4   5   6   7   8   9   10   >