Hi; On Saturday 23 November 2002 08:24 am, Harald Hanche-Olsen wrote: > Just do > > #+cmucl (import 'cl::backq-list*) > > in the file name jm-package. The #+cmucl is there to remind you that > this is quite non-portable. Maybe you should also add > > #-cmucl (error "Non-portable code. Requires CMUCL.") > > in case someone ever tries running it under another lisp.
Thanks! I shall do that straightaway. However, whenever I find myself running into a situation such as I described (effectively unable to pass-through or rely on the CL defmacro), it is usually a Sign From God (who really doesn't bother with me very much, usually) that I am either: (1) doing something wrong (my goal is incorrect), or (2) I am going about a reasonable goal entirely the wrong way. Is there a canonical way to write a CL-based compiler (using packages, which may, in fact, be one of my problems) and enable most "builtin" CL features like defmacro? FYI, because there is some serious code hackery going on (generating finite state machines from "rules" in the input grammar), the forms in the input file are not simple extensions to CL (via defmacro), but are actually input using "read" (rather than defmacro and load), and then merged, processed, etc. Thanks again for the help! -jm -- ==== John Morrison ==== MAK Technologies Inc. ==== 185 Alewife Brook Parkway, Cambridge, MA 02138 ==== http://www.mak.com/ ==== vox:617-876-8085 x115 ==== fax:617-876-9208 ==== [EMAIL PROTECTED]
