[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: GJC at MIT-MC
- From: JONL at MIT-MC (Jon L White)
- Date: Thu, 26 Feb 81 02:12:00 GMT
- Cc: (BUG LISP) at MIT-MC
- Original-date: 25 FEB 1981 2112-EST
Date: 23 February 1981 01:08-EST
From: George J. Carrette <GJC at MIT-MC>
Is there a way to get a call to a LEXPR to compile
as a call to an EXPR? . . .
A typical thing to do, as was done with the systemic functions
EVAL and PRINT, is to introduce new names (in these cases *EVAL
and *PRINT) which are subr's of a specific number of arguments,
and then they set up the lsubr call; indeed it does save space
in the compiled code, and there is no UUO overhead at all.
If you can't pick a "common case" w.r.t. number of args, you might
have two or three such new names, and have something like a
SOURCE-TRANS to expand into the appropriate one.