[comp.windows.x] Common Lisp and the XToolkit

Paul.Birkel@K.GP.CS.CMU.EDU (11/12/87)

Now that CLX is finally arriving at our site I have been giving
some thought to writing applications. For X10 we used a foreign
function interface to Xlib, and a second one to the Sx toolkit.
Both worked reasonably.

Since CLX bypasses Xlib entirely, talking to the server itself,
it is not immediately  obvious how to use the XToolkit.

	a) A foreign function interface, bypassing CLX for the
		most part. Dave Rosenthals' "hello world" example
		shows the advantages to be gained by programming
		at the XToolkit level.

	b) Replicating portions (or all) of the XToolkit functionality
		in Common Lisp on top of CLX. At our site we already
		have the necessary "server" functionality for dispatching
		on XEvents.

Folks here seem to lean towards the latter, but no definite plans
for actual widgets have been forthcoming. Certainly there is room for
some implicit (explicit anyone?) attempts at agreeing on what the next
level above CLX might look like. CLOS anyone? Or are we still at the
stage of trying out CLX, running in 10 different directions for a while,
and then assessing the relative merits of each approach?

Have any other sites given this much thought? What do they think and
what are they doing about it? Are there any partial implementations
in an alpha release phase? Care to get me to alpha test it?

	Paul A. Birkel
	Dept. of Computer Science
	Carnegie-Mellon University
	Pittsburgh, PA.  15213

	pab@K.CS.CMU.EDU

	(412) 268-8893

kempf@hplabsz.HPL.HP.COM (Jim Kempf) (11/13/87)

In article <1987.11.12.14.53.33.Paul.Birkel@K.GP.CS.CMU.EDU>, Paul.Birkel@K.GP.CS.CMU.EDU writes:
> level above CLX might look like. CLOS anyone? Or are we still at the
Yes, most definitely CLOS. The PARC implementation is good, the spec is
nearing completion (slowly), and my impression of these UI toolkits
is that they are a natural for object oriented programming. People
who try to do them without objects tend to end up writing their own
object oriented language, sort of.

		Jim Kempf	kempf@hplabs.hp.com

Kimbrough@dsg.csc.ti.COM (Kerry Kimbrough) (11/01/88)

Anyone interested in a Xt-equivalent Common  Lisp toolkit should take a  look at
CLUE.

CLUE is a portable system for user interface programming in Common Lisp.   CLUE,
which is based on the X Window System and the Common Lisp Object System  (CLOS),
extends the CLX interface to provide an architectural model for the construction
of interactive  Lisp  applications.   Modelled  on  the Xt toolkit library, CLUE
could be described as a  translation of the Xt  "intrinsics" into the domain  of
Common Lisp and CLOS.

A portable implementation of the  Common Lisp User Interface  Environment (CLUE)
is now available  in the  public domain.   Anyone interested  may receive source
code and  documentation  via  anonymous  ftp  from CSC.TI.COM, (internet address
10.7.0.46) in pub/clue.tar.Z.  Better  yet, CLUE files  are also in  the contrib
directory of X11 R3.

This implementation of CLUE (Version 1.15) may be installed without change in TI
Explorer and Symbolics environments.  Other  configurations are in progress  but
have not yet been fully tested.  Bug reports and fixes are welcome and should be
addressed to one of the following  addresses.  The standard X bug  report format
is nice and is preferred.

        clue-bugs@dsg.csc.ti.com
        (...im4u!ti-csl!dsg!clue-bugs). 
 
We encourage comments from anyone interested in Lisp user interface programming.
General  comments   and   CLUE   issue   discussion   should   be   addressed to
clue-review@dsg.csc.ti.com.