[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help in writing infix macro in CL.
- To: common-lisp@su-ai.ARPA
- Subject: Help in writing infix macro in CL.
- From: "S. Sridhar" <sridhar%tekecs%tektronix.csnet@CSNET-RELAY.ARPA>
- Date: Mon, 5 May 86 16:27:46 PDT
Is there a way to do the following using the reader macro functions
of CLtL ?
I want to have a reader macro that translates
(a + b) to (+ a b). How can I remember the lisp object that was read
before the macro character #\+.
I would appreciate some pointers.
-sridhar