[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
inline declaration for FLET and LABELS
- To: DCP@SCRC-QUABBIN.ARPA
- Subject: inline declaration for FLET and LABELS
- From: Jonathan A Rees <JAR@MC.LCS.MIT.EDU>
- Date: Thu, 27 Mar 86 14:26:20 EST
- Cc: common-lisp@SU-AI.ARPA
- In-reply-to: Msg of Thu 27 Mar 86 13:20 EST from David C. Plummer <DCP at SCRC-QUABBIN.ARPA>
I've implemented it a couple times and never had any trouble, but then
I've never tried to write a compiler which tried to implement
optimizations via macro expansion. It's best in lexical languages
either to uniquely rename user variables like RABBIT does, or to make
"virtual closures" to make sure that lambda-expressions know what
lexical environment they came from (I've never tried that although I
think it would work). The LETREC case seems harder to me since you have
to deal with mutual recursion.