Applicative order, normal order

20 views
Skip to first unread message

vii

unread,
Jul 12, 2010, 5:12:43 AM7/12/10
to Lisphp
"Real lisp" use applicative order.

what is used in lisphp?

Hong MinHee

unread,
Jul 12, 2010, 6:27:13 AM7/12/10
to Lisphp
Be default, Lisphp uses an applicative order for functions. But you
can emulate a normal order with macro. Following example code is from
Lisphp's README file.

(define if*
{macro [let {(cond (eval (car #arguments)
#scope))}
(eval (at #arguments (or (and cond 1) 2))
#scope)]})

However, there's no backquote-comma syntax for Lisphp's macro yet.
Reply all
Reply to author
Forward
0 new messages