Structural Informatics Group (SIG) logo
Home | Projects | Demos | Downloads | Publications | Local Info | About Us | New site
Go to the first, previous, next, last section, table of contents.

Evaluation Functions

(eval <expr>)  EVALUATE AN XLISP EXPRESSION
    <expr>      the expression to be evaluated
    returns     the result of evaluating the expression
(apply <fun> <args>)  APPLY A FUNCTION TO A LIST OF ARGUMENTS
    <fun>       the function to apply (or function symbol)
    <args>      the argument list
    returns     the result of applying the function to the arguments
(funcall <fun> <arg>...)  CALL A FUNCTION WITH ARGUMENTS
    <fun>       the function to call (or function symbol)
    <arg>       arguments to pass to the function
    returns     the result of calling the function with the arguments
(quote <expr>)  RETURN AN EXPRESSION UNEVALUATED
    <expr>      the expression to be quoted (quoted)
    returns     <expr> unevaluated
(function <expr>)  GET THE FUNCTIONAL INTERPRETATION
    <expr>      the symbol or lambda expression (quoted)
    returns     the functional interpretation
(backquote <expr>)  FILL IN A TEMPLATE
    <expr>      the template
    returns     a copy of the template with comma and comma-at
                expressions expanded
(lambda <args> <expr>...)  MAKE A FUNCTION CLOSURE
    <args>      formal argument list (lambda list) (quoted)
    <expr>      expressions of the function body
    returns     the function closure
(get-lambda-expression <closure>)  GET THE LAMBDA EXPRESSION
    <closure>   the closure
    returns     the original lambda expression
(macroexpand <form>)  RECURSIVELY EXPAND MACRO CALLS
    <form>      the form to expand
    returns     the macro expansion
(macroexpand-1 <form>)  EXPAND A MACRO CALL
    <form>      the macro call form
    returns     the macro expansion

Go to the first, previous, next, last section, table of contents.