[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Adding a free slot to Chicken symbols

From: felix winkelmann
Subject: Re: [Chicken-users] Adding a free slot to Chicken symbols
Date: Tue, 11 Apr 2006 09:28:56 +0200

On 4/11/06, John Cowan <address@hidden> wrote:
> felix winkelmann scripsit:
> > Adding an extra slot to symbols would be pretty handy, and would make
> > it easy to implement different Lisps in chicken, but I wonder how much code
> > depends on C_SIZEOF_SYMBOL being 3....
> >
> > Anyway, give the patch a try, please.

I have added the patch to the base system (enabled by specifying

> I was exploring an alternative mechanism using a global hash table, but I
> need the hash table to handle uninterned symbols (which are potentially
> garbage collected) properly, and -- contrary to the documentation --
> a symbol cannot be wrapped in a (strong or weak) locative.  Can this
> be fixed?  Presumably the change to Chicken would be much less drastic.

Sorry, what exactly doesn't work? Can you be more specific? Do you
mean uninterned symbols don't get GC'd when wrapped in a weak locative?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]