gcl-devel
[Top][All Lists]
Advanced

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

Re: [Gcl-devel] conditions/clos/gcl unified build patch and instruct


From: Camm Maguire
Subject: Re: [Gcl-devel] conditions/clos/gcl unified build patch and instructions.
Date: 07 Jun 2002 11:25:45 -0400

Greetings, and thanks for this!  OK, it would be straightforward to
replicate this for common-lisp(-user).  BUt I think the design is
implying that other packages needing nil and t should "use" the lisp
package (option to make-package), and inherit these special sympols
this way.  Would this work?  Perhaps then followed by the unexport,
etc?   Otherwise, to make the package again directly in C, some kind
soul will have to count the internal and external symbols for me to
supply as args to the C routine, it appears.

Take care,

John Jorgensen <address@hidden> writes:

> > Please don't hurry with committing. We have to sort out new
> > basic CL package and check how Maxima works with
> > renewed GCL setup.
> 
> It looks like all of the packages (and name strings) are built in
> package.d from line 1050 to 1068 (in current CVS). For instance,
> lisp_package denotes the "LISP" package. It should be possible to make a
> couple of packages "common-lisp" and "common-lisp-user" right in C. I'm
> still unclear on a couple of the parameters to make_package right now
> though.
> 
> Also in main.c, there is an example of how to use the C functions import
> and export to import nil (Cnil) and t (Ct) into a package. This should
> solve the NIL problem that you mentioned (There's nothing like working
> around a bug instead of fixing it. ;).
> 
> Once nil (and possibly t) are imported into the packages, the rest of cl
> and cl-user could either be populated the lisp way, or the same way that
> GCL does a lot of it (in C files).
> 
> J*
> 
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah



reply via email to

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