[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Avoiding the use of EVAL
- To: firstname.lastname@example.org
- Subject: Avoiding the use of EVAL
- From: email@example.com
- Date: Thu, 16 Jun 94 13:06:33 -0700
I'm modifying a bunch of code (written by others) and I'd like to
eliminate calls to EVAL. The code is constructing forms which are
written out to a file and sometimes need to be evaluated as well. For
function calls, this is not a problem as I can do:
(apply (car form) (cdr form)) where form is '(+ 1 2 3)
But for macros this doesn't work.
Is there an equivalent way to do this for macros using macroexpand?
Seth Goldman Hughes Research Labs
firstname.lastname@example.org 3011 Malibu Canyon Rd.
(310) 317-5693 voice M/S RL96
(310) 317-5695 fax Malibu, CA 90265