EVALUATION FUNCTIONS



EVALUATE AN XLISP EXPRESSION

(eval <expr>)


APPLY A FUNCTION TO A LIST OF ARGUMENTS

(apply <fun> <arg>...<args>)


CALL A FUNCTION WITH ARGUMENTS

(funcall <fun> <arg>...)


RETURN AN EXPRESSION UNEVALUATED

(quote <expr>)

fsubr


GET THE FUNCTIONAL INTERPRETATION

(function <expr>)

fsubr


MAKE A COMPLEMENTARY FUNCTION

(
complement <fun>)

This function is intended to eliminate the need for -IF-NOT functions and :TEST-NOT keys by providing a way to make complementary functions.


RETURN THE EXPRESSION

(
identity <expr>)


FILL IN A TEMPLATE

(backquote <expr>)

fsubr. Note: an improved backquote facility, which works properly when nested, is available by loading the file backquot.lsp.


COMMA EXPRESSION

(
comma <expr>)

(Never executed) As the object of a backquote expansion, the expression is evaluated and becomes an object in the enclosing list.


COMMA-AT EXPRESSION

(
comma-at <expr>)

(Never executed) As the object of a backquote expansion, the expression is evaluated (and must evaluate to a list) and is then spliced into the enclosing list.


MAKE A FUNCTION CLOSURE

(lambda <args> <expr>...)

fsubr


GET THE LAMBDA EXPRESSION

(get-lambda-expression <closure>)


RECURSIVELY EXPAND MACRO CALLS

(macroexpand <form>)


EXPAND A MACRO CALL

(macroexpand-1 <form>)


XLISP-PLUS - Version 2.1g - Tom Almy tom.almy@tek.com - 18 JUL 94
Generated with
WebMaker