Hi Alse,
as the file says:
⍝ Variable
name conventions:
⍝
⍝ Variables starting with x, e.g. xB, are strings
(simple vectors of
⍝ characters), i.e. 1≡ ≡xB and 1≡''⍴⍴⍴xB
The fact th
Hi,
I have changed GNU APL to accept (=ignore) HTML tags at the
beginning of an .apl file.
I also changed the )DUMP command to create a few HTML tags
at the beginning and at the end of an .apl file.
The net effect of these changes is tha
, at 09:15, Juergen Sauermann
<juergen.sauerm...@t-online.de>
wrote:
Hi,
I have changed GNU APL to accept (=ignore) HTML tags
at the beginning
Hi,
I have done some tests with the new HTML output format of
the )DUMP command.
Unfortunately a few things like cut-and-paste did not work as
expected because some
characters (like <) need to be HTML-escaped which makes
the files incompatible.
Hi,
I have created a directory
http://www.gnu.org/software/apl/Bits_and_Pieces/
for single file contributions of free
APL (or APL related) software (scripts, GNU APL workspaces,
or APL functions for GNU (or other) APLs).
Hi Louis,
thanks. The Svar_record warnings should be
fixed in SVN 638.
The rdynamic warning is an old known problem with the
Apple compiler which identifies itself as g++ in ./configure
but
then complains about valid g++ command line opti
Hi Alex,
unfortunately I am not very familiar with component files.
I believe Blake knows much more.
/// Jürgen
On 06/06/2015 03:16 AM,
alexwei...@alexweiner.com wrote:
Hi bug-apl,
I'
Hi Alex,
your nesting looks incorrect. yB is supposed to be a (nested) vector
of lines.
In your example, ""
is a (non-nested) vector of chars while e,g, "" "" is a (nested)
vector of empty lines.
I believe using ,⊂""
instead of ""
sh
Hi Louis,
thanks, should be fixed in SVN 639.
/// Jürgen
On 06/18/2015 12:26 AM, Louis Chretien
wrote:
This is my latest build of SVN 638 on OS X 10.10.3.
Most of the previous warnings are gone, but there
Hi,
the stack trace (or segfault on some systems) should be fixed in SVN
640.
While ISO proposes domain error, APL2 actually returns 0 instead (and
so does GNU APL).
I'll leave it that way.
Thanks,
Jürgen
Hi Alex,
thanks, fixed in SVN 641.
/// Jürgen
On 06/26/2015 05:33 AM,
alexwei...@alexweiner.com wrote:
Hi bug-apl,
In wslib5/APLComponentFiles/CF_README.txt has a reference
to a function called CF_
Hi Alex,
thanks for offering this. I would change a few things to make that
code even more useful:
- make the separator an (ideally optional) left argument of
ReadTableData.
Many data files are written in CSV (comma separated values)
fo
Hi Kacper,
thanks, fixed in *SVN 642*.
/// Jürgen
On 06/30/2015 01:20 AM, Kacper Gutowski wrote:
I have no idea how that happens.
¯1J0⋆2
DOMAIN ERROR
¯1⋆2
^ ^
-k
Hi Kacper,
thanks, fixed in SVN 642.
/// Jürgen
On 06/30/2015 01:13 AM, Kacper Gutowski
wrote:
There is a number of problems with circle functions.
Inverse trigonometric and hyperbolic functions ¯1 ¯2 ¯6 ¯7
as well a
e see attached
-Alex
Original Message
Subject: Re: [Bug-apl] Submission for GNU APL
Bits_and_Pieces directory
From: Juergen Sauermann <juergen.sauerm...@t-online.de>
Date: Mon, June 29, 2015 3:05 am
Hi Alex,
very good, thank you very much. I have added it as:
http://www.gnu.org/software/apl/Bits_and_Pieces/File_Table_Reader.apl.html
Jürgen
On 06/30/2015 04:57 AM, alexwei...@alexweiner.com
wro
Hi,
thanks a lot. Fixed in SVN 643.
/// Jürgen
On 07/01/2015 06:21 AM, apm wrote:
I
get the following when using ⍕:
12 ¯4 ⍕ 9.9994 9.9995 9.9996 ¯9.9995E¯10 ¯9.9996E¯10
9.999E0
Hi Brian,
thanks, fixed in SVN 644.
Please note that things like that can still happen - powers of
negative numbers can give
complex numbers and rounding up or down of complex numbers is somewhat
different
from rounding up or down of real
Hi,
the file
Read_matrix_from_file.apl
was renamed to:
CSV.apl
in our Bits_and_Pieces
directory (see http://www.gnu.org/software/apl/Bits_and_Pieces/).
Reason is that it now also sup
Hi Louis,
thanks, fixed in SVN 645.
/// Jürgen
On 07/12/2015 04:04 PM, Louis Chretien
wrote:
I get the following error, trying to build the latest SVN 644 on
Mac OS X 10.10.4:
Hi Alex,
thanks, fixed in SVN 647.
/// Jürgen
On 07/14/2015 05:23 AM,
alexwei...@alexweiner.com wrote:
Hi Bug APL,
The vector A can do index assignment when
the index is a null:
Hi Alex,
thanks, fixed in SVN 648.
/// Jürgen
On 07/16/2015 04:52 AM,
alexwei...@alexweiner.com wrote:
Hi Bug APL,
I cut to the chase:
A←5000⍴1000.1234321
Hi Alex,
I would say that this is illegal syntax if we look at the ISO standard,
but it seems to work in
IBM APL2. I will try to make it work in GNU APL as well. In the
meantime you can do this:
{⍺,[2]⍵}/A A
/// Jürgen
Hi Alex,
thanks, fixed in SVN 649.
/// Jürgen
On 07/16/2015 01:58 AM,
alexwei...@alexweiner.com wrote:
Hi Bug APL,
I am willing to admit that my syntax is
actually incorrect,and w
Hi,
I have added the "Toronto Toolkit" - a collection of
useful APL functions for
various purposes - to our Bits_and_Pieces
directory.
The file was kindly provided by Fred Weigel, who also
converted it to GNU APL.
Thanks a lo
Hi Fred,
thanks, should be fixed in SVN 650.
/// Jürgen
On 07/20/2015 08:05 AM, fred wrote:
After fixing the last issues (Makefile.in, "%lld" format, ShapeItem
cast needed), I get the folowing on make:
.Tpo -c Archive.cc -
Hi Fred,
not sure what you mean by I would like to request three
additional UTF-8 characters to be added.
GNU APL supports the entire Unicode character set to the extent that
your platform supports
(= is able to display) it. So you can't actually add c
, 2015 at 6:55 PM, Juergen Sauermann
wrote:
GNU APL supports the entire Unicode character set to the extent that your
platform supports (= is able to display) it.
On Thu, Jul 23, 2015 at 5:59 PM, Fred Weigel wrote:
The current definition of letter
Hi Blake,
thanks, fixed in SVN 651.
/// Jürgen
On 07/27/2015 05:10 AM, Blake McBride
wrote:
Some minor compiler warnings I get on 64 bit Linux.
memory_benchmark.cc:
Hi Alex,
the character that are allowed for user defined variable names are
defined in the ISO standard. As far as
I remember they are A..Z a..z 0..9 ∆ ⍙ ¯ and _ where the first
char of a variable name must not be 0..9 or ¯.
Also the characters
Hi Mike,
in GNU APL there are some interactions between stdin, stdout, and
stderr.
And it is doing some terminal handling like disabling cooked mode,
signal handling, and others.
These are needed in order to make it work like IBM APL2.
A sim
Hi Mike,
thanks for reporting this. I believe I have fixed the segfault, SVN
655.
It should have occured only if you open a non-existing file and
then try to read from it.
I believe in your function RDFILE you should check NILL in [3] to
Hi Mike,
thanks, fixed in SVN 656.
/// Jürgen
On 08/12/2015 04:05 AM, Mike Duvos
wrote:
A←'' ⋄ (↑A)←0
-- Stack trace at Cell.cc:129
Hi Fred,
see my comments inline below.
/// Jürgen
On 08/11/2015 05:51 PM, fred wrote:
Jürgen/List
I have been thinking about your comments on UTF8 combine underline. The
UTF8 standard is clear -- U0332 combines with the pr
Hi,
I have analyzed this issue a little and the following was my
conclusion.
1. when looking at the GNU APL code I found that it could be
simplified a little and I did that, SVN
2. It is perfectly correct that, as Jay pointed out, ⎕CT
Hi Mike,
the problem with relative ⎕CT is that when the N gets
large, say > ÷⎕CT then N×⎕CT becomes >
1 so the
interval around N where you would round up (for ⌊)
contains one integer or even several. The ISO intention
seems to be that only num
Hi Mike,
thanks, fixed in SVN 658. It now produces DOMAIN ERROR
(because
infinity is not an integer).
/// Jürgen
On 08/12/2015 06:41 AM, Mike Duvos
wrote:
a/a←⌊/''
Hi Mike,
There is a line that reads:
CXX_RDYNAMIC =
"-rdynamic"
around line 16790 in thr top-level file named configure.
If you change that to:
CXX_RDYNAMIC = ""
and run ./configur
Hi Mike,
page 58 merely says that ⌈ and ⌊ use comparison
tolerance, but not in which way.
And page 133 (floor) says: "using comparison" tolerance and not
"using RFUZZ".
I read page 58 like this:
a) ⎕CT is the same as comparison tol
Hi,
and what is ulps?
/// Jürgen
On 08/15/2015 01:15 PM, Elias Mårtenson
wrote:
Arguably ⎕CT should be specified in terms of ulps,
since GNU APL uses double precision floating point for all
numeric ope
Hi Mike,
ideally GNU APL under cygwin should not be different than on other
platforms.
Dyadic ⎕FX is implemented via dlopen() and
friends. It might be that you need to install
libtool on your platform.
I sporadically test GNU APL under cy
Hi Mike,
it used to be forbidden but then we came across a library which
was
doing things like that (the Toronto Toolkit, see http://www.gnu.org/software/apl/Bits_and_Pieces/).
I then did some tests with IBM APL2 and they allow it (when
creating a fun
Hi Fred ,
fine. Maybe the way forward is if you publish a patch in our
Bits_and_Pieces
directory.
I would not like it to be a ./configure option because that
would give us many #ifdefs
all over the place and I (instead of Fred) would have the burden of
Hi Mike,
thanks, fixed both the documentation and the segfault in SVN
659.
Also made the sorting of the variable names a little faster.
/// Jürgen
On 08/14/2015 09:08 PM, Mike Duvos
wrote:
On th
is it a Unicode
machine?). IBM APL2 for PC seems not to have underlined
characters.
/// Jürgen
On 08/15/2015 06:38 PM, Elias Mårtenson
wrote:
On 15 August 2015 at 21:31, Juergen
Sauermann <juergen.sau
Hi Mike,
I believe the reason is different platforms. man g++ says:
"-rdynamic
Pass the flag -export-dynamic to the ELF linker, on targets
that
support it. This instructs the linker to add all symbols,
not only
Hi,
in principle yes. I already had that check in configure.ac
in SVN 185:
# check if compiler knows -rdynamic
#
AC_MSG_CHECKING([whether $CXX accepts -rdynamic])
apl_save_CXXFLAGS=$CXXFLAGS
CXXFLAGS="-rdynamic"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
[CAN_rdynami
al Message
Subject: Re: [Bug-apl] Back to underline
From: Blake McBride <blake1...@gmail.com>
Date: Sun, August 16, 2015 4:24 am
To: Elias_Mårtenson <loke...@gmail.com>
Cc: Juergen Sauermann <juergen.sauerm...@t-online
Hi,
the standard says:
If the last-item in the shape-list of A1 is not the same as the
first-item in the shape-list
of B1, signal length-error.
Scalar A or B are turned into vectors, but vectors are not turned
into matrices.
urn strrchr(da.get_data(), ch); }
I just used the configure. I didn't create it from the .ac
file.
On Sun, Aug 16, 2015 at 9:08 AM,
Juergen Sauermann <juergen.sauerm...@t-online.de>
Hi Mike,
typical windows problem I guess.
The variable arguments are ⍺ and ⍵. (alpha and
omega)
The function arguments are ⍶ and ⍹. ( alpha and omega underlined)
The axis argument is χ. (Chi)
/// Jürgen
On 0
Hi Mike,
thanks, fixed in SVN 662. Generates SYNTAX ERROR
(there is no ⎕IO ERROR in GU APL).
/// Jürgen
On 08/19/2015 12:08 AM, Mike Duvos
wrote:
(3↑⎕IO)←10
⎕IO
10
Hi Mike,
this is a GNU APL feature. Instead of leaving ⎕-variables undefined
and raising the according error when referenced, GNU APL sets them
to their default values when they are being localized.
As a consequence, most ⎕-variables are always defin
Hi,
in the good old days (= long before APL2) the data type was a
property of the value and memory was
always too small. At that time all values were homogeneous.
Then APL2 came and most vendors of old APL simply added a new
thing called a mixe
Hi Jay,
this behavior is kind of intended, but I would be open for better
solutions.
The underlying problem is this: GNU APL can run interactively or
from a script.
But I have not found a reliable way to distinguish the two cases
and I di
/// Jürgen
On 08/21/2015 12:40 PM, Jay Foad wrote:
FYI this is different from NARS2000 and Dyalog, which leave
⎕-variables set to their current value, rather than setting them to
some default value.
Jay.
On 21 August 2015 at 11:04, Juergen Sauerm
Hi Mike,
the only thing I am getting is:
INDEX ERROR+
TIMES[7] Z←((¯1+⍴Z)⌊+/∧\'0'=Z)↓Z←D[⌽Z]
^^
Another question: are you running GNU APL on the same machine as
IBM APL2
or under a
Hi Mike,
your function NEST creates an extremely deep process call
stack when
enclosing extremely deeply nested values (proportional to the
nesting depth).
Your operating limits the size of your call stack in order to
protect
other
thought I'd mention it.
Regards,
Mike
On Sat, Aug 22, 2015 at 1:31
PM, Juergen Sauermann
Hi Louis,
I believe that this problem has been fixed already. Please download
the latest SVN
version of GNU APL (see http://www.gnu.org/software/apl/
for details).
/// Jürgen
On 08/24/2015 01:51 AM, Louis de
Forcrand wrote:
Hi,
the segfault thrown by this stack limit is not caught even though
GNU APL installs
signal handlers for SIGSEGV. Therefore anything based on evaluating
the arguments
of the signal handler would not work.
The alternative of checking beforehand has (neg
Hi,
the to_value() function is used for the general case of f/B
where f is, for example,
a user-defined function, or B is nested.
In the special case where f is a built-in scalar function
and B is simple, one can
compute f/B without using
Hi Louis,
the list is moderated, but the moderation request list is empty.
Not sure if you have received my previous response (repeated
below).
/// Jürgen
-
40 AM,
Juergen Sauermann <juergen.sauerm...@t-online.de>
wrote:
Hi,
in the good old days (= long before APL2) the data type
was a property of the value and memory was
always too sma
Hi,
I have changed the reduction operator to use to_value() only i
neccessary. SVN 663.
I believe some of the measurements look different now.
/// Jürgen
On 08/28/2015 02:51 PM, Elias Mårtenson
wrote:
In
Hi Mike,
thanks, fixed in SVN 664.
/// Jürgen
On 08/20/2015 01:19 AM, Mike Duvos
wrote:
⍎ (100⍴'{⍺'),' + ',100⍴'⍵}'
==
Hi,
thanks. Fixed in SVN 665.
Interestingly, both IBM APL2 and the ISO standard require a space
between numbers in a literal.
However, IBM APL2 also requires a space between a number and a
subsequent identifier, while
the ISO standard doe
Hi Mike,
I fixed the Assertion, see *SVN 666*.
I believe *1E¯¯6* should be tokenized as number *1* followed by
identifier *E¯¯6*.
The reason why *1D¯¯6* is a bad number is because *D* is a complex-marker,
which is followed by a non-number *¯¯6*. The ISO standard only allows
*J* as complex
ma
Hi Mike,
thanks. Maybe fixed in SVN 667. I am now using ⎕CT
(instead of a fixed constant 1E¯10) as
the condition number in ⌹. This number determines
if a matrix is considered singular or not.
Neither the ISO standard nor the IBM APL2 manual say
Hi Mike,
thanks, fixed in SVN 668.
/// Jürgen
On 08/28/2015 03:34 AM, Mike Duvos
wrote:
⍴⍴10?¯1+2*25
1
⍴⍴10?¯1+2*26
1
Hi Mike,
thanks, fixed in SVN 669.
/// Jürgen
On 08/26/2015 05:14 AM, Mike Duvos
wrote:
Here's a simple little recursive function to
compute matrix permanents.
∇
[0] Z←PERM X;⎕
Hi Alexey,
I believe you are using a Dyalog-specific feature.
Try 2
2↑XG1 instead.
/// Jürgen
On 08/29/2015 06:56 PM, Alexey
Veretennikov wrote:
Hi
Hi Mike,
it would help if you could provide the file OUT for which
the )IN command fails.
Generally speaking, )IN is an very dangerous command
because it executes (⍎)
the records in the file in order to reconstruct a workspace, and
it wil
Hi Louis,
it would help if you could provide the file for which the *)LOAD* fails.
/// Jürgen
On 08/31/2015 02:38 AM, Louis de Forcrand wrote:
I forgot to include this in my previous message. Sorry.
I'm on a Mac, and I save my workspaces in
~/Documents/APL/workspaces/
(apparently GNU APL aut
Hi Alexey,
I believe comp.lang.apl is still active and there is a
regular posting by Sam Sirling
with pointers to other places.
/// Jürgen
I
On 08/31/2015 06:53 PM, Alexey
Veretennikov wrote:
Hi
ever
state, so that the user can )SIC
or → and )SAVE again.
/// Jürgen
On 08/31/2015 04:57 PM, Louis de
Forcrand wrote:
Juergen Sauermann writes:
Hi Louis,
it would help if you could provide the file for which the *)LOAD
() to supposedly existing APserver failed: Invalid argument
and this one right above the input line:
Svar_DB not connected in Svar_DB::is_registered_id()
Louis
On 31 Aug 2015, at 16:57, Louis de Forcrand wrote:
Juergen Sauermann writes:
Hi Louis,
it would
Hi Mikke,
thanks, fixed in SVN 671.
/// Jürgen
On 08/31/2015 08:24 AM, Mike Duvos
wrote:
Hi,
I looked into the ¯4○ thing a bit more and have identified the
discrepancy between A
Hi Mike,
thanks, fixed in SVN 672.
/// Jürgen
On 08/31/2015 04:21 PM, Mike Duvos
wrote:
Hi,
¯4○ is supposed to be equal to 5○¯6○. While trying
e attached.
On Mon, Aug 31, 2015 at 5:53 AM,
Juergen Sauermann <juergen.sauerm...@t-online.de>
wrote:
Hi Mike,
it would help if you could provide the file OUT
f
)OUT OUT
[GNU APL]
)IN OUT
inverse 2 ⎕TF failed for the following APL statement:
⎕FX 1⍴⊂'Z←FUN X'
On Mon, Aug 31, 2015 at 5:53 AM,
Juergen Sauer
Hi Mike,
I can't really see what's wrong here. On my platform I get:
ALMOST_ONE←1D45*8
2 ⎕TF 'ALMOST_ONE'
ALMOST_ONE←9.998E¯1J¯2.449293598294707E¯16
2 ⎕TF is independent of ⎕PP and ⎕CT and it
prints floating
Hi Mike,
I see. I have increased the number of digits to 17, but
only for ⎕TF (because
otherwise a few of my automated testcases would break). SVN
674.
/// Jürgen
On 09/04/2015 05:42 PM, Mike Duvos
wrote:
Hi Alexey,
it works on my machine:
DISPLAY←{8⎕CR ⍵}
⎕CR 'DISPLAY'
λ←DISPLAY ⍵
λ←8⎕CR ⍵
DISPLAY 1 2 3
┌→┐
│1 2 3│
└─┘
Yo
Hi Mike,
thanks, fixed in SVN 675.
/// Jürgen
On 09/07/2015 01:58 AM, Mike Duvos
wrote:
[IBM APL2]
⌊2*32
4294967296
Hi Mike,
thanks, fixed in SVN 675.
/// Jürgen
On 09/07/2015 04:26 AM, Mike Duvos
wrote:
[IBM APL2]
(2*32)
| ¯1090558516
3204
Hi Blake,
it fdepends a little from where you fetch stuff and if you
./configure
after updating from SVN.
The large numbers (currently > 1) are from my local SVN
repository.
The smaller numbers are from the official GNU APL SVN.
Hi Mike,
the max. rank is a ./configure option in GNU APL. See
./configure
--help
/// Jürgen
On 09/09/2015 12:25 AM, Mike Duvos
wrote:
Hi Blake,
thanks, fixed in SVN 676. I introduced a new command )DUMPV
(DUMP verbose) which is
like the old )DUMP and made the new )DUMP less
verbose. Sometimes, when )DUMP fails
(e.g. because a directory is missing) it is convenient to know the
Hi Blake,
yes, the discussion was to change ⎕TZ on )LOAD.
The general strategy of GNU APL to save
as much information as possible because some information that
looks like not being used today
may become relevant at a later point in time.
Hi Elias,
thanks, fixed in SVN 677.
/// Jürgen
On 09/10/2015 06:50 AM, Elias Mårtenson
wrote:
When typing the following _expression_:
(⍳10) ∘.foo
(1+⍳20)
Hi,
thanks, fixed in SVN 677.
Interestingly, my APL2 reports DOMAIN ERROR on
0 +/ 99
/// Jürgen
On 09/11/2015 09:25 PM, Mike Duvos
wrote:
Just in case it isn't instantly obvious what's
wrong in the prio
le to provide the same
message as loading of a ws except perhaps that the word "SAVED" is
replaced with "DUMPED". All this is just cleaner and more APL-like.
4. )QLOAD of ws and dump work perfectly.
Thanks!
Blake
On Sat, Sep 12, 2015 at 4:34 AM, Juergen Sauermann
mail
erent sort of the )DUMP file to make the
SCCS think more changed. Does )DUMP sort its output?
Thanks!
Blake
On Sat, Sep 12, 2015 at 4:55 AM,
Juergen Sauermann <juergen.sauerm..
Hi David,
thanks. Fixed in *SVN 679*.
/// Jürgen
On 09/14/2015 12:06 AM, David B. Lamkins wrote:
When loading a DUMPed file, the reported date is incorrect. See attached patch.
Hi Blake,
thanks, fixed in SVN 680.
/// Jürgen
On 09/14/2015 02:05 PM, Blake McBride
wrote:
)clear
CLEAR WS
)save ws
2015-09-14 07:02:52
(GMT-5)
Hi Louis,
the keyboard mapping is something that happens outside GNU APL.
There exist different methods of how APL characters are created by
the keyboard on different platforms. The file README-3-lkeyboard that
comes with GNU APL explains some of the
Hi Peter,
character input is done in several places, but always by functions
called getc() or fgetc():
Command.cc:
const int cc = fgetc(layout);
Command.cc: const int cc = fgetc(pipe);
Command.cc:
Hi Alex,
what is ⎕QS? There seems to be no such thing in GNU APL.
/// Jürgen
On 09/17/2015 01:20 AM,
alexwei...@alexweiner.com wrote:
Hi Bug-APL,
(sorry if this is too unrelated to GNU APL
wrote:
ah, sorry. I meant the QUERY_STRING which is in quad ENV. sorry, I assigned it as QS in my code and confused myself and everyone.
Original Message
Subject: Re: [Bug-apl] related to ⎕QS
From: Juergen Sauermann
Date: Sep 18, 2015 7:56 AM
To: al
901 - 1000 of 1721 matches
Mail list logo