Re: Wiki progress again: hashes

2018-06-12 Thread Alexander Burger
On Tue, Jun 12, 2018 at 04:39:34PM +0200, Arie van Wingerden wrote: > the 'hashes' section is now ready. Very good again! For "Inverting a Hash" there is - besides your version of 'cons'ing CDRs and CARs to an inverted association list - now also a direct way: The 'rassoc' (reverse assoc)

Re: Question on PLEAC hashes example

2018-06-12 Thread Arie van Wingerden
Hi Alex, done! Thx, Arie 2018-06-12 16:05 GMT+02:00 Alexander Burger : > Hi Arie, > > > This example (in "Traversing a Hash"): > > > >#- > ># download the following standalone program > >#!/usr/bin/picolisp /usr/lib/picolisp/lib.l > > > >(load

Re: Wiki progress ...

2018-06-12 Thread Arie van Wingerden
Hi Alex, > Is this intended? Or is the third line missing? ;) > ​Indeed; corrected :)​ In "4.3.1. Iterate over a list" you could put in addition to the 'for' loop: > >(mapc println mylist) # Probably better Mylist > ​Done and done.​ > Note that instead of > >: (for I (length lst) >

Wiki progress again: hashes

2018-06-12 Thread Arie van Wingerden
Hi Alex, the 'hashes' section is now ready. Please have a look :) Best, Arie

Re: Question on PLEAC hashes example

2018-06-12 Thread Alexander Burger
Hi Arie, > This example (in "Traversing a Hash"): > >#- ># download the following standalone program >#!/usr/bin/picolisp /usr/lib/picolisp/lib.l > >(load "@lib/misc.l") > >(in (opt) > (until (eof) > (when (match '(~(chop "From: ")

Re: Failing example PLEAC

2018-06-12 Thread Alexander Burger
On Tue, Jun 12, 2018 at 02:41:27PM +0200, Arie van Wingerden wrote: > the attached program dutree.l seems to misbehave in Windows WSL. > > Would you please verify that it works correctly under native Linux? Yes, seems to work fine. I did: $ pil dutree.l . ♪♫ Alex -- UNSUBSCRIBE:

Re: Wiki progress ...

2018-06-12 Thread Alexander Burger
Hi Arie, > the page on "Arrays" is ready. This was quite abit of work :) Looks very good! I'm really impressed! > @Alex Would you please check this page? Sure :) It says This is the first line. And this the second. A fourth line. Is this intended? Or is the third line missing? ;)

Failing example PLEAC

2018-06-12 Thread Arie van Wingerden
Hi Alex, the attached program dutree.l seems to misbehave in Windows WSL. Would you please verify that it works correctly under native Linux? TIA, Arie dutree.l Description: Binary data

Re: picolisp at last ?

2018-06-12 Thread Jean-Christophe Helary
> On Jun 12, 2018, at 18:42, Jean-Christophe Helary > wrote: >> The only issue with this setting is that to run picolisp I have an overhead >> of ~5% cpu use just to run VB headless. > > Trying to do everything again in qemu, to see the total cpu use... Ok, debian is *super slow* to install

Re: picolisp at last ?

2018-06-12 Thread Jean-Christophe Helary
> On Jun 12, 2018, at 18:12, Jean-Christophe Helary > wrote: > > Ok, I re-installed Debian in VirtualBox, installed only the basic utilities > and am accessing the thing headless to connect to my account and run > picolisp. It must be the first time I find some use for XQuartz :) > > The

Wiki progress ...

2018-06-12 Thread Arie van Wingerden
Hi all, the page on "Arrays" is ready. This was quite abit of work :) In this case I had to dive in a few times and with some great help I learned a lot from that. My mindset had to change quite a bit. I worked with other Lisps, which (almost) all were lexically scoped. Now I saw quite a few

Re: picolisp at last ?

2018-06-12 Thread Jean-Christophe Helary
Ok, I re-installed Debian in VirtualBox, installed only the basic utilities and am accessing the thing headless to connect to my account and run picolisp. It must be the first time I find some use for XQuartz :) The only issue with this setting is that to run picolisp I have an overhead of ~5%

Re: picolisp at last ?

2018-06-12 Thread Arie van Wingerden
OK. Good to hear you succeeded :) 2018-06-12 9:36 GMT+02:00 Jean-Christophe Helary : > > > On Jun 12, 2018, at 15:28, Arie van Wingerden wrote: > > OK. > My WSL installation is Ubuntu based. > Could you try e.g. Lubuntu in a VM? > > > Actually I got it working under Debian the other day. I

Re: picolisp at last ?

2018-06-12 Thread Jean-Christophe Helary
> On Jun 12, 2018, at 15:28, Arie van Wingerden wrote: > > OK. > My WSL installation is Ubuntu based. > Could you try e.g. Lubuntu in a VM? Actually I got it working under Debian the other day. I thought that Tiny Core Linux was more lightweight since I'd only use Virtual box for that... :)

Re: picolisp at last ?

2018-06-12 Thread Arie van Wingerden
OK. My WSL installation is Ubuntu based. Could you try e.g. Lubuntu in a VM? I got a recent version of PicoLisp just installing it using apt, and it works well ... Op ma 11 jun. 2018 23:31 schreef Jean-Christophe Helary < brandel...@gmail.com>: > > > On Jun 12, 2018, at 2:36, Arie van Wingerden

Re: Wiki progress

2018-06-12 Thread Arie van Wingerden
Hi Olaf, no problem at all. For now I'll concentrate on the docs themselves. Hope you can find some time for PicoLisp again. If all goes well I can publish the Arrays section of PLEAC later today :) Best, Arie Op ma 11 jun. 2018 22:31 schreef O.Hamann : > Hi Arie, > > keep on doing as