Re: Using "internal" macros of a CL implementation
- From: Victor Kryukov <victor.kryukov+news@xxxxxxxxx>
- Date: Sun, 29 Oct 2006 19:40:41 -0600
In a non-portable way: Check in what packages they are defined, and
access the right symbols in those packages. 'apropos helps to
determine the package. Access to a symbol in a package is made by
package:symbol, or package::symbol if it is not exported (but then
it's also really not advisable to use it). There are more ways to
access symbols in other packages via defpackage.
In a portable way: Create your own package with a low-level API. Make
sure that the API is close to at least one or ore existing low-level
APIs. Then you can provide different implementations depending on each
implementation, and in some implementations simply make the existing
one available through your own package. There exist numerous
compatibility layers that do it like this, like ACL-Compat, LW-Compat,
trivial-garbage, Closer to MOP, and various others. (For example,
CLiki has a page for such compatibility layers.)
Thanks, Pascal; that's exactly what I was asking for, though I
probably wasn't very clear.
I am impressed to see a large number of very skilled persons (Bill,
Ken, Pascal & Pascal - to name just a few) in this group who spend
*significant* amount of their times explaining in great detail
different aspect of the language, often answering similar questions again
and again. I still fail to see why this group is sometimes considered to be
"hostile" to the newcomers.
Best regards,
Victor.
.
- References:
- Using "internal" macros of a CL implementation
- From: Victor Kryukov
- Re: Using "internal" macros of a CL implementation
- From: Ken Tilton
- Re: Using "internal" macros of a CL implementation
- From: Victor Kryukov
- Re: Using "internal" macros of a CL implementation
- From: Pascal Costanza
- Using "internal" macros of a CL implementation
- Prev by Date: Re: logo design
- Next by Date: Re: Using "internal" macros of a CL implementation
- Previous by thread: Re: Using "internal" macros of a CL implementation
- Next by thread: Re: Using "internal" macros of a CL implementation
- Index(es):
Relevant Pages
|