Re: Simulate EOF in terminal ...

2018-06-08 Thread Alexander Burger
Hi Arie, > For some examples it isn't clear how they should be run. > They are not "ready to run" straight away. > > Since I try to make the examples approachable, I strive to also give the > code (and/or data) to make such examples work. > > In this case I guessed that the example could use STD

Re: Simulate EOF in terminal ...

2018-06-08 Thread Arie van Wingerden
Hi Alex, OK thx. For some examples it isn't clear how they should be run. They are not "ready to run" straight away. Since I try to make the examples approachable, I strive to also give the code (and/or data) to make such examples work. In this case I guessed that the example could use STDIN. B

Re: Simulate EOF in terminal ...

2018-06-08 Thread Alexander Burger
Hi Arie, > when (e.g.) executing this code in a terminal, which expects typed input, I > can't manage to simulate an EOF in the terminal: > > (until (eof) >(prinl (glue " " (flip (split (line) " " ) This is not possible. Standard input cannot be closed, and then continued in the REPL

Simulate EOF in terminal ...

2018-06-08 Thread Arie van Wingerden
Hi, when (e.g.) executing this code in a terminal, which expects typed input, I can't manage to simulate an EOF in the terminal: (until (eof) (prinl (glue " " (flip (split (line) " " ) I know this should be possible (in Linux) by using ctrl+d. However, this forces PicoLisp to a halt!

Wiki progress

2018-06-08 Thread Arie van Wingerden
Hi, the last days I did a refresh of parts 1 .. 3 of PLEAC docs. At first I'd tried to get a nice reading experience by having lightblue backgrounds for paragraph titles and yellow backgrounds per example. Having done it that way, in the I found the reading experience far from pleasant. Also I