Subject: Re: GCL vs. CLISP
From: (Rob Warnock)
Date: Thu, 05 Aug 2004 23:40:23 -0500
Newsgroups: comp.lang.lisp
Message-ID: <>
Camm Maguire  <> wrote:
| (Todd Pierce) writes:
| > I'd like to have access to X-windows through Lisp. Apparently the two
| > packages use XGCL and CLX respectively. How do they stand with respect
| > to CLOS? Must it be present?
| xgcl does not require clos.  I believe clx does.

Not according to the CLX sources distributed with CMUCL. Looking in
routine "depdefs.lisp", one finds the following code which decides
whether to use CLOS or not, and if so, for which types:

    (eval-when (eval compile load)
      (defvar *def-clx-class-use-defclass*
	#+(and cmu (not pcl)) nil
	#-(or  cmu) nil
	"Controls whether DEF-CLX-CLASS uses DEFCLASS.  
	 If it is a list, it is interpreted by DEF-CLX-CLASS to be a
	 list of type names for which DEFCLASS should be used. 
	 If it is not a list, then DEFCLASS is always used.
	 If it is NIL, then DEFCLASS is never used, since NIL is the
	 empty list."))


Rob Warnock			<>
627 26th Avenue			<URL:>
San Mateo, CA 94403		(650)572-2607