Re: REPL script and @

2014-09-29 Thread Jon Kleiser
Hi Alex, On 18. Dec, 2013, at 21:19, Alexander Burger a...@software-lab.de wrote: Hi Jon, I just wrote a little PicoLisp script (for pil32) that simulates the REPL, quite similar to the one I did for Ersatz a while ago, http://picolisp.com/5000/!wiki?SwingRepl. The new REPL script looks

Re: REPL script and @

2014-09-29 Thread Alexander Burger
Hi Jon, I just noticed that doing the (prin - ) before the (eval Exe) causes the arrow to be printed before the first printed line, e.g. when entering an expression like (for N 3 (prinl N)). Instead, the arrow should appear just before the final result. I have now ended up with this: (in

Re: REPL script and @

2014-09-29 Thread Jon Kleiser
Hi Alex, On 29. Sep, 2014, at 15:40, Alexander Burger a...@software-lab.de wrote: Hi Jon, I just noticed that doing the (prin - ) before the (eval Exe) causes the arrow to be printed before the first printed line, e.g. when entering an expression like (for N 3 (prinl N)). Instead, the

Re: REPL script and @

2014-09-29 Thread Alexander Burger
Hi Jon, Thanks. I tried moving (flush) up, but it didn’t work well in my websocketd setup. Ah, I should have said that Stdout in Unix is flushed at end of line only if output is to a TTY. So you actually need two (flush)s. ♪♫ Alex -- UNSUBSCRIBE: