[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-apl] 950 )HELP Issue, and mem.cc
From: |
Fred Weigel |
Subject: |
[Bug-apl] 950 )HELP Issue, and mem.cc |
Date: |
Tue, 16 May 2017 15:30:26 -0400 |
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
mem.cc
Description: Text Data
- [Bug-apl] 950 )HELP Issue, and mem.cc,
Fred Weigel <=