Re: [Bug-apl] SQL interface needs a workspace

2014-05-15 Thread Daniel H. Leidisch
Hello! Elias Mårtenson writes: > Finally, about extensions, I have actually considered implementing a > new language (on top of Common Lisp most likely) that implements the > essence of the APL syntax and functions but with Lisp integration. And > rest assured that this thing will not be called

Re: [Bug-apl] crash on each of empty

2014-05-15 Thread David B. Lamkins
Thank you. Confirmed working with the original test cases. Pushing a bit further, I believe that the following behavior may still be contrary to the IBM spec in SVN 268: +¨'' ┌⊖┐ │0│ └─┘ Here we have a numeric function passed an empty character. Transforming this via the identity given pre

Re: [Bug-apl] SQL interface needs a workspace

2014-05-15 Thread Elias Mårtenson
Well as for the SQL support, it certainly would be useful to have it shipped as part of GNU APL. The main reasons for me not pushing for that yet is that the workflow is a bit painful. There was some discussion a few months ago about external contributions to the source repository, but it's complic

Re: [Bug-apl] SQL interface needs a workspace

2014-05-15 Thread Blake McBride
Dear Elias, Notwithstanding my rant about nested arrays, yes, I do agree with Jürgen. Once you drift from the standard, you no longer have APL, you have XYZ. Creating XYZ is fine and great, it's just not APL. And, you probably should't call it APL. I am very much in favor of enhancement to GNU

[Bug-apl] Locked functions do not stay locked after )LOAD

2014-05-15 Thread Blake McBride
)CLEAR CLEAR WS ∇z←test [1] z←5 5⍴⍳25 [2] ⍫ test 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 ∇test[⎕]∇ DEFN ERROR+ ∇test[⎕]∇ ^ )SAVE abc 2014-05-15 10:40:56 (GMT-5) )LOAD abc SAVED 2014-5-15 15:40:56 (GMT-5)

Re: [Bug-apl] SQL interface needs a workspace

2014-05-15 Thread Juergen Sauermann
Hi, first of all, the search path for )LOAD, )SAVE, and friends is configurable in the GNU APL preferences file as LIBREF-0 ... 9. Shared libraries are installed in an own directory which is usually /usr/lib/apl or /usr/local/lib/apl. The exact location is determined by (and can also be chang

Re: [Bug-apl] SQL interface needs a workspace

2014-05-15 Thread Elias Mårtenson
Well, I never said you can't use a workspace. Right now everything about the libraries and packages are very much in flux, which is why I have not spent much time thinking about distribution. There clearly needs to be a nice, encapsulated, way to distribute libraries with a native component. I thi

Re: [Bug-apl] SQL interface needs a workspace

2014-05-15 Thread Blake McBride
Dear Elias, I will add the SQL workspace to my upcoming keyed file system. Should I add a README for your SQL library to my keyed file package too? Regarding workspaces and their opaque format, this is exactly the same argument as my nested array argument. Are we going to debate and ignore the

Re: [Bug-apl] Web page problems

2014-05-15 Thread Juergen Sauermann
Hi Blake, thanks. should work now. /// Jürgen On 05/15/2014 03:37 PM, Blake McBride wrote: Greetings, GNU software index points to: http://www.gnu.org/software/apl That page is blank. --- The page at: http://www.gnu.org/software/apl/apl.html talks about downloading but doesn

Re: [Bug-apl] SQL interface needs a workspace

2014-05-15 Thread Elias Mårtenson
Actually, I have already mentioned to Jürgen that we need some way of specifying a default serach path for )LOAD and friends. However, I have not seen it as particularly important yet since we don't have a completed package manager yet. I personally dislike workspaces and I know I'm not alone in t

[Bug-apl] Beginnings of a README.txt file for the SQL library

2014-05-15 Thread Blake McBride
Greetings, The enclosed is the beginnings of a proposed README.txt file for the SQL extension. I think documentation can help minimize newbie frustration and improve GNU APL usage. The loading instructions, below, will depend on a possible workspace being added to the package. The usage section

[Bug-apl] SQL interface needs a workspace

2014-05-15 Thread Blake McBride
Greetings, I am in the process of writing a proposed README.txt file for the SQL interface to GNU APL. That package comes with a file named sql.apl that is a shell script to startup GNU APL with the SQL shared library and APL routines already loaded. IMO, that method of loading it has a few prob

[Bug-apl] Web page problems

2014-05-15 Thread Blake McBride
Greetings, GNU software index points to: http://www.gnu.org/software/apl That page is blank. --- The page at: http://www.gnu.org/software/apl/apl.html talks about downloading but doesn't tell you from where. It would be nice if it referred you to the tar file and the subversion

Re: [Bug-apl] ]OWNERS crashes on native functions

2014-05-15 Thread Juergen Sauermann
Hi Elias, thanks, should work now. /// Jürgen On 05/14/2014 09:19 AM, Elias Mårtenson wrote: To reproduce, load a native function: * 'libemacs' ⎕FX 'EE'* Then type *]OWNERS* and the interpreter will crash with the following dump: Value #0: Flags = COMPLETE, ⍴⊏21⊐ ≡1: SystemVariabl

Re: [Bug-apl] crash on each of empty

2014-05-15 Thread Juergen Sauermann
Hi, thanks, hopefully fixed in SVN 268. Also the debug printouts. /// Jürgen On 05/14/2014 07:01 PM, David B. Lamkins wrote: I think Elias is correct. >From the IBM manual, pg. 110 (check the source; I think I've transcribed accurately, but make no guarantee): -- begin Empty Argument: If R