Code: Select all
((a b c) (1 2 3)) => ((a 1) (b 2) (c 3))
Also, I find it annoying that newlisp symbols aren't required to be separated by brackets or spaces. I'd like to do this:
Code: Select all
(1+ x)
(1- x)
Code: Select all
(-1 x)
(+1 x)
Code: Select all
((a b c) (1 2 3)) => ((a 1) (b 2) (c 3))
Code: Select all
(1+ x)
(1- x)
Code: Select all
(-1 x)
(+1 x)
Code: Select all
(1+ x) => (+ x 1)
(1- x) => (- x 1)
Code: Select all
(setq f 1)
(inc f 2)
=> 3.0
Code: Select all
(macro (+= X Y) (setq X (+ X Y)))
(set 'x 12)
(+= x 2) => 14