Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!hellgate.utah.edu!cdr.utah.edu!moore From: moore%cdr.utah.edu@cs.utah.edu (Tim Moore) Newsgroups: comp.lang.lisp Subject: Re: macroexpanding macrolets Message-ID: <1990Nov14.135322.7677@hellgate.utah.edu> Date: 14 Nov 90 20:53:22 GMT References: <4049@idunno.Princeton.EDU> <8880@pasteur.Berkeley.EDU> Organization: University of Utah CS Dept Lines: 16 In article <8880@pasteur.Berkeley.EDU> maverick@fir.Berkeley.EDU (Vance Maverick) writes: >In article <4049@idunno.Princeton.EDU>, eliot@phoenix.Princeton.EDU >(Eliot Handelman) writes: >> I need a function that macroexpands locally-defined macros (via MACROLET) >> -- is there some way to do this in plain CL? If not, has anyone hacked >such a >> tool in KCL? Am I right in thinking that the optional environment to >> MACROEXPAND is the way to go? > >Yes, according to CLtL. But how do you get the Lisp object representing >an environment? By using the &environment argument to macros. Tim Moore moore@cs.utah.edu {bellcore,hplabs}!utah-cs!moore "Ah, youth. Ah, statute of limitations." -John Waters