Reworked main documentation page

2018-06-16 Thread Arie van Wingerden
Hi all, I reworked the main doc page a bit: - bit more stylish (smaller font headers) - consistent grouping - moved a few links to the now separate examples page - and v.v. Also I intend to continue to rework pages. My todo's for near future are: - rework the frontpage of the

Re: picolisp at last ?

2018-06-16 Thread Jean-Christophe Helary
> On Jun 16, 2018, at 20:46, Alexander Williams wrote: > > JC: wasn't your goal to use PicoLisp 64-bit? ;) No the goal was to run it on the Mac, which *happens* to be 64bit :) > I also have an RPi2, and can power it from the MacBook but there's always a > spinning rainbow in the top left

Re: PLEAC last part finished (File Access)

2018-06-16 Thread Alexander Burger
On Sat, Jun 16, 2018 at 03:56:15PM +0200, Arie van Wingerden wrote: > Or do you mean e.g. something line: > ./script mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: PLEAC last part finished (File Access)

2018-06-16 Thread Alexander Burger
Hi Arie, > please have a look. > I am still not very sure about the read STDIN until EOF. Yes, the examples are a bit meaningless as they are now. > I created a small script, but when is EOF of STDIN really signalled??? Concerning stdinread: You need an (in NIL ..), because when the script

Re: PLEAC last part finished (File Access)

2018-06-16 Thread Arie van Wingerden
OK. I changed that to an example using redirection of STDIN to a file. 2018-06-16 15:56 GMT+02:00 Arie van Wingerden : > Or do you mean e.g. something line: > ./script ?? > > Thx. > > 2018-06-16 15:38 GMT+02:00 Arie van Wingerden : > >> Hi Alex, >> >> please have a look. >> >> I am still not

Re: PLEAC last part finished (File Access)

2018-06-16 Thread Arie van Wingerden
Or do you mean e.g. something line: ./script : > Hi Alex, > > please have a look. > > I am still not very sure about the read STDIN until EOF. > > I created a small script, but when is EOF of STDIN really signalled??? > > Maybe a small example? > > Thx, >Arie >

PLEAC last part finished (File Access)

2018-06-16 Thread Arie van Wingerden
Hi Alex, please have a look. I am still not very sure about the read STDIN until EOF. I created a small script, but when is EOF of STDIN really signalled??? Maybe a small example? Thx, Arie

Re: PLEAC Pattern Matching ready

2018-06-16 Thread Arie van Wingerden
​Hi, ​ > Yes, fully. But also (>= "Z" C "A") > ​Right! ​ > > > Also a few lines down: (chop "abcd efg"))) > > ​?? What is wrong? > Only the spacing of closing parens (chop "abcd efg") ) ) > ​OK! I'll take the pp advice :) Thx. again! Arie​

Re: PLEAC Pattern Matching ready

2018-06-16 Thread Alexander Burger
On Sat, Jun 16, 2018 at 02:28:11PM +0200, Alexander Burger wrote: > > ​?? What is wrong? > > Only the spacing of closing parens (chop "abcd efg") ) ) Concerning the indentation rules, the recommendation is to stay roughly close to the output format of 'pp' / 'pretty' ♪♫ Alex -- UNSUBSCRIBE:

Re: PLEAC Pattern Matching ready

2018-06-16 Thread Alexander Burger
On Sat, Jun 16, 2018 at 02:18:46PM +0200, Arie van Wingerden wrote: > >(de isalpha? (Lst) > > (fully > > '((C) > > (or (>= "Z" C "A") (>= "z" C "a")) ) > > Lst ) ) > > ​Great! Nice function. Didn't know that :)​ Yes, fully. But also (>= "Z" C "A") > >

Re: PLEAC Pattern Matching ready

2018-06-16 Thread Arie van Wingerden
Hi, This is a little inefficient, and the indentation and parenthesis > placements are a > not right. I would suggest: > >(de isalpha? (Lst) > (fully > '((C) > (or (>= "Z" C "A") (>= "z" C "a")) ) > Lst ) ) > ​Great! Nice function. Didn't know that :)​ >

Re: Question on PLEAC example

2018-06-16 Thread Alexander Burger
On Sat, Jun 16, 2018 at 02:05:33PM +0200, Arie van Wingerden wrote: ># Read STDIN till EOF > >: (setq Var (in NIL (till NIL T))) >This is a line >a peaceful line >it is not drunk >it drinks no wine ># Here I pressed ctrl+d which forces PicoLisp to end > > As discussed

Question on PLEAC example

2018-06-16 Thread Arie van Wingerden
Hi Alex, just started on chapter 7. You give this code as an example. # Read STDIN till EOF : (setq Var (in NIL (till NIL T))) This is a line a peaceful line it is not drunk it drinks no wine # Here I pressed ctrl+d which forces PicoLisp to end As discussed earlier you

Re: picolisp at last ?

2018-06-16 Thread Alexander Williams
JC: wasn't your goal to use PicoLisp 64-bit? ;) I'm actually using a ROCK64 (arm64) daily, and of course run PicoLisp 64-bit on here. In terms of specs, it's **much** better than RPi3, but support is... I also have an RPi2, and can power it from the MacBook but there's always a spinning

Re: PLEAC Pattern Matching ready

2018-06-16 Thread Alexander Burger
Hi Arie, > please check chapter 6 on pattern matching. Thanks! : (de isalpha? (Lst) (not (find '((C) (and (or (< C "A") (> C "Z")) (or (< C "a") (> C "z" Lst))) This is a little inefficient, and the indentation