bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] 950 )HELP Issue, and mem.cc


From: Juergen Sauermann
Subject: Re: [Bug-apl] 950 )HELP Issue, and mem.cc
Date: Wed, 17 May 2017 13:27:43 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

Hi Fred,

tahnks, I fixed the )HELP issues, SVN 951.

Not sure what you mean by releases. If it is major releases like 1.6, 1.7... then
the corresponding release announcement normally tells what the major improvements
are. The next finer granularity is SVN commits, and for them I consider the SVN commit
text to be more useful than a separate CHANGES.txt file. You can use the svn log
command, either for individual files or for directories to retrieve these messages.

I will be AFK for almost two weeks from now and will have a closer look at mem.cc
when I am back. Please remind me if I should forget that.

Best Regards,
Jürgen



On 05/16/2017 09:30 PM, Fred Weigel wrote:
Jürgen

In 950 (and going back a few releases) Command.cc has broken )HELP.

At (around) line 150, add

if (!strcmp(command, ")HELP")) return false;

without this, things like ")HELP +" (or whatever) won't work.

Second: )HELP doesn't actually behave well with NATIVE functions. At (around) line 962,
try
if (ufun) ufun->help(CERR);
instead of
Assert(ufun);

Now, it would be useful to implement a "help" option to NATIVE -- but I haven't done that.

As a side-note, it would be useful to have a CHANGES.txt file detailing the changes from a release
to the next.

Find attached a first cut at shared memory support (mem.cc). It allows mmap() of a region
(get the file handle from fopen), and supports floating, integer, character, complex vectors
of different sizes transferring from GNU APL to and from the shared memory region. I am
working with this currently, and when I get some experience will try to graft into some
of the primitives. But this gives an idea of what I was talking about at the beginning of the
month.

Fred Weigel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]