Problems running some EmuLisp tests with ersatz

2014-04-16 Thread Christophe Gragnic
Hi all, I'm currently playing with non mainstream PicoLisp versions (sorry for that!) and found some issues. 1) Regarding this snippet: (for ((I . N) 11 (not (= I 4)) (inc N)) (list I N)) the official PicoLisp and ersatz 27 return (4 14), but ersatz 29 (currently the most recent version) returns (

nooby question re lists and quoting

2014-04-16 Thread Simon Luetzelschwab
Hi, PicoLisp is my first LISP dialect and I'm trying to move some of the things I do on the command line to PicoLisp's REPL and scripts. I'm playing around with pipes, in, out and call and have a basic question: If I have the following fun - (de exe (X) (eval (cons 'call X)) ) I can call it

Re: nooby question re lists and quoting

2014-04-16 Thread Мамкин Мансур Таипович
Hi, Simon, you can use "apply" here: (de exe2 (X) (apply 'call X) ) because "call" needs multiple arguments, but not one list. Best regards, Mansur Mamkin 17.04.2014 7:17, Simon Luetzelschwab пишет: Hi, PicoLisp is my first LISP dialect and I'm trying to move some of the things I do on t

Re: nooby question re lists and quoting

2014-04-16 Thread Henrik Sarvell
Hi Simon, this is similar to stuff in my own system command helper script, I use it a lot: https://bitbucket.org/hsarvell/ext/src/tip/cmd.l?at=default It might give you some ideas. On Thu, Apr 17, 2014 at 10:13 AM, <> wrote: > Hi, Simon, > > you can use "apply" here: > > (de exe2 (X) >(apply

Re: Problems running some EmuLisp tests with ersatz

2014-04-16 Thread Alexander Burger
Hi Christophe, thanks for the input! :) > 1) Regarding this snippet: (for ((I . N) 11 (not (= I 4)) (inc N)) (list I N)) > the official PicoLisp and ersatz 27 return (4 14), > but ersatz 29 (currently the most recent version) returns (3 13). Correct. This was fixed a while ago, on Tue Oct 02 09