Re: WS remains full after large aborted computations?

2021-02-23 Thread Blake McBride
Interestingly, if I do: +/⍳10 >From the OS, I can see the memory usage go up and up. However, when it is done, the OS seems to be getting all its memory back. That's nice! --blake On Tue, Feb 23, 2021 at 1:52 AM Blake McBride wrote: > Using the latest GNU APL on a 64-bit Linux box,

Re: New to GNU APL, curiosities or possible bugs?

2021-02-23 Thread Blake McBride
Here is what I get on the latest GNU APL on a 64-bit Linux box: )wsid IS CLEAR WS ∇hello [1] 'hello world' [2] ∇ )wsid hello WAS CLEAR WS )save 2021-02-23 02:21:55 (GMT-6) hello )clear CLEAR WS )load hello SAVED 2021-02-23 02:21:55 (GMT-6) hello hello wo

Re: Improvements to gnuapl

2021-02-23 Thread Christian Robert
I will ask again in 6 years. Xtian. On 2021-02-22 14:36, Dr. Jürgen Sauermann wrote: Hi Christian, I can't quite follow the argument that :IF/:ELSE etc. makes it easier for newcomers to learn APL. If I remember my learning of APL some decades ago correctly, then, coming straight from ALGOL and

Re: Improvements to gnuapl

2021-02-23 Thread Elias Mårtenson
If you you want to experiment with this stuff, my project needs help. 😃 Den tis 23 feb. 2021 18:07Christian Robert skrev: > I will ask again in 6 years. > > Xtian. > > On 2021-02-22 14:36, Dr. Jürgen Sauermann wrote: > > Hi Christian, > > > > I can't quite follow the argument that :IF/:ELSE etc.

Re: Improvements to gnuapl

2021-02-23 Thread Christian Robert
NARS2000-64 has already this kind of syntax while exactly having the core of gnuapl/apl2 for maybe 10 years. if you want to experiment download it (windows only and free) http://www.nars2000.org/download/Download.html Xtian. in feb 2015 i asked: that said, my re

Re: Improvements to gnuapl

2021-02-23 Thread Elias Mårtenson
Actually, when I said experiment I meant experiment with language design, not using such features. With KAP I decided to depart from standard APL on a few areas so that some new interesting behaviour could be of implemented. A lot of of standard APL works though. Of course, if you are looking for

Re: Improvements to gnuapl

2021-02-23 Thread Christian Robert
All thoses request are based on the following piece of code i saw in 2004 (in nars2000): ⎕cr '#BoxFMT' Z←Z #BoxFMT R;RD;LD;D LD←⍕(0≠⍴⍴R)/¯1↑⍴R RD←⍕⍪¯1↓⍴R RD←(+/RD=' ')⌽RD D←¯2+⍴⍴Z :if D>0 :while 2<⍴⍴Z Z←,[¯3 ¯2] Z,[¯2]' ' :endwhile Z←(-D)↓[0]Z :endif Z←(¯2↑1,⍴Z)⍴Z ⋄ Z←((⍴Z)⌈(¯1↑⍴RD),⍴LD)

Re: WS remains full after large aborted computations?

2021-02-23 Thread Dr . Jürgen Sauermann
Hi, I suppose )SIC might do. If you get an APL error then the failed operation is still on the )SI stack (so that you can continue it with →) Best Regards, Jürgen On 2/23/21 7:07 AM, Russtopia wrote:

Re: Improvements to gnuapl

2021-02-23 Thread Dr . Jürgen Sauermann
Hi Blake, You're correct. Another problem in HTML is unquoted attribute values in HTML tags. I should have said "One can use ⎕XML for decoding HTML pages and the like as long as they obey the fundamental XML encoding rules". I believe it would be possible to make ⎕XML tolerate some of these

Re: Improvements to gnuapl

2021-02-23 Thread Blake McBride
If I were parsing HTML, I would have an exception list that contained the few tags that don't have closing tags. I wouldn't expect a closing tag for those. If I did get one, I'd ignore it. There is a very small and fixed number of these exceptional tags. Custom tags should have closing tags. -

Re: New to GNU APL, curiosities or possible bugs?

2021-02-23 Thread Dr . Jürgen Sauermann
Hi John, see below. Best Regards, Jürgen On 2/22/21 11:18 PM, edxmail-jo...@usa.net wrote: Hi, I've just spent a couple of days working to get gnu-apl up and running unde

Re: Improvements to gnuapl

2021-02-23 Thread Elias Mårtenson
Perhaps this library can help: https://github.com/google/gumbo-parser It should be reasonably easy to call it from GNU APL. Den tis 23 feb. 2021 20:09Blake McBride skrev: > If I were parsing HTML, I would have an exception list that contained the > few tags that don't have closing tags. I woul

Re: New to GNU APL, curiosities or possible bugs?

2021-02-23 Thread Elias Mårtenson
I'll better happy to take a look at the sqlite problem. However, it's not clear to me what the error is. Could you post the actual error you're seeing, and the code you wrote? Regards, Elias Den tis 23 feb. 2021 20:18Dr. Jürgen Sauermann skrev: > Hi John, > > see below. > > Best Regards, > Jür

Re: New to GNU APL, curiosities or possible bugs?

2021-02-23 Thread edxmail-johnh
Hi Elias, thanks for getting in touch. Sadly, there is no code. This is a startup issue. It works one time, )off, start apl again and the error occors, )off, start apl again and the error is gone, ad infinitum... I'm guessing the problem is the OS X environment has changed and broke how the AP i

Re: Re: [Spam] New to GNU APL, curiosities or possible bugs?

2021-02-23 Thread Peter Teeson
Hi John: Thank you very much for your feedback. Sorry for the extra work I caused you. I will do a rewrite removing anything reference to the tarball. These days the recommended way is to checkout the /trunk branch. Then do the Terminal waltz - ./configure, make. make install….. Maybe it should

Re: Re: [Spam] New to GNU APL, curiosities or possible bugs?

2021-02-23 Thread edxmail-johnh
Peter - no drama! You didn't cause me any work not worth doing. I'm not sure if removing the all references to the tarball will be enough in as much as there appear to be issues with the svn builds. It tuns out the MacPorts build has similar problems as well. Sadly, I think the root cause is App

Re: New to GNU APL, curiosities or possible bugs?

2021-02-23 Thread Elias Mårtenson
The svar_db errors has nothing to do with with sqlite. These are two very different facilities. I wouldn't expect to see any errors relating to sqlite unless you actually use the SQL API. Regards, Elias Den ons 24 feb. 2021 03:44 skrev: > Hi Jürgen and colleagues, > > I've done a bit more diggi

Re: New to GNU APL, curiosities or possible bugs?

2021-02-23 Thread John Helm
Got it. Thanks. /John On 2/23/21 5:31 PM, Elias Mårtenson wrote: The svar_db errors has nothing to do with with sqlite. These are two very different facilities. I wouldn't expect to see any errors relating to sqlite unless you actually use the SQL API. Regards, Elias Den ons 24 feb. 2021 03: