I'm aware that it's not CLISP or Scheme. That's why I'm attracted to it. I can't stand CLISP's bloat.
I was able to define an anaphoric if like this:
Code Select (define-macro (aif)
(let ((it (eval (args 0))))
(if it
(eval (args 1))
(eval (args 2)))))And an example:
Code Select (aif (+ 23 42)
(println it)
(println "it's nil, bub."))So it's a start. I'm just exploring the idea of anaphora, and figured newLISP would be a good language to try it in.